Safari Annoyance: Opening Minimized Windows
Posted February 5th, 2007 @ 03:16pm by Erik J. Barzeski
I often maintain a few Safari windows. One will have "general browsing" stuff - things I'll open for reading later. I call this my "miscellaneous" window. I'll also have a few project-specific windows open, each with a few tabs. I keep these minimized, as I only work in them from time to time.
I've found a bug that's somewhat reproducible, and it has to do with that working state: "miscellaneous" window up, all "project" windows minimized.
When Safari isn't hidden, clicking a link in, say, my email app or text editor will properly open the URL in a new tab in Safari's topmost window. That's usually my "miscellaneous" window, so all is well.
When Safari is hidden, however, hell oftentimes breaks loose. More often than not, Safari will unhide itself, un-minimize one of my minimized "project" windows behind the already un-minimized "misc" window, and open the URL in a new tab in the "project" window instead of the top-most (and already un-minimized) "misc" window.
It's always the same project window, too - the "oldest" window (or the one with the lowest document ID, if you want to look at it the way you might in AppleScript). If I create a new window, drag all the tabs from my "project" window to it, and close the old project window, I can eventually create a situation wherein the "misc" window is "oldest," but I shouldn't have to: Safari should respect the un-minimized window(s) I have on-screen without pulling the wrong window from the Dock.
P.S. The title, had I felt like being verbose, would have read "Safari Annoyance: Opening Minimized Windows when Hidden and a Perfectly Good Window Already Exists For Crying Out Loud"
Donate Life
Posted 05 Feb 2007 at 8:34pm #
Erik, have you filed a bug against Safari describing this issue?
Posted 05 Feb 2007 at 8:43pm #
Mark Rowe said on February 5, 2007:
Unlike most bugs I report here, I haven't, but only because I can't reproduce it 100% of the time. I spent some time today trying to narrow it down. I caught it in a movie once (anyone want a 933MB movie? heh heh), but that was about it. I'm really not sure why it sometimes opens another window from the dock and other times uses the window that's present (among the same set of windows).