Open Bug 538937 Opened 15 years ago Updated 2 years ago

when a minimized window has a dialog sheet, clicking Firefox icon in dock won't restore it

Categories

(Core :: Widget: Cocoa, defect)

All
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: barryn, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_8; en-us) AppleWebKit/532.8+ (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20100110 Minefield/3.7a1pre

Normally, clicking the Firefox icon in the dock will restore (un-minimize) a minimized window if there are no other windows open. However, If the minimized window is showing a dialog sheet (e.g. "do you really want to close all these tabs"), then Firefox won't restore the window.

If the user ... hmm, how shall I say it? ... has below-average experience with Mac OS X, then he may erroneously conclude that Firefox has locked up and may decide to temporarily switch to Safari until the Mac can be examined by the family's resident IT guru. Especially if he minimized the window (with dialog sheet) by accident. (That's how I found this bug, in fact.)

Reproducible: Always

Steps to Reproduce:
1. Make sure Firefox is set up to prompt if you try to close a window with multiple tabs.
2. Open at least two tabs in a window. (Make sure there is only one window open.)
3. Now click the close button in the upper-left corner of the window. (Command-Shift-W or File->Close Window also works here, but the close button is what I've been using during my testing.)
4. Now that you are being asked to confirm closing a window with more than one tab, click the yellow minimize button.
5. Click the Firefox icon in the Dock.
Actual Results:  
After step 4, step 5 doesn't appear to do anything.

Expected Results:  
Step 5 should restore (un-minimize) the window.

Firefox 3.5.7/3.6RC1/trunk, Leopard or Tiger, Intel or PPC, doesn't seem to make a difference. I haven't tried all combinations, but the problem is 100% reproducible on those that I have tried. (At this point I have no systems running Snow Leopard.)

In the process of figuring out how to reliably reproduce this bug, I found another bug in the handling of minimized windows with dialog sheets. I will file that bug later today.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.