Closed Bug 234819 Opened 21 years ago Closed 19 years ago

Close multiple tabs warning appears on original mozilla window, even when quitting from another window

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: Anthony.Lanni, Unassigned)

Details

User-Agent: Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 When multiple tabs are open and you attempt to close a window (either with control-q/file=>quit, or alt-f4/window manager 'X' button), an alert dialog box comes up warning that you are closing multiple tabs. This is great. However, with more than one mozilla window is open - for instance, on different workspaces - select control-q or file=>quit. The alert dialog appears on the first mozilla window to be opened (window #1), not the one through which the quit command originated (window #2), even when it's on a different workspace. Selecting "Close all tabs" will close window #1 (and all its tabs), and the same dialog will then appear on window #2. You can then hit "Close all tabs" and close that window. Mozilla must then be restarted. Doing the same experiment with either Alt-F4 or the "X" close button at the upper right corner results in the alert dialog appearing over window #2, and only this window being closed. This behavior is new under GNOME 2.2/Metacity, I think because there are two different window management "window hints" in motif, MWM_FUNC_QUIT_APP and MWM_FUNC_CLOSE. Control-Q is the shortcut for File->Quit, and activates the MWM_FUNC_QUIT_APP, which closes the whole application; mozilla is reacting to this by closing all the windows it has open, in the order that they were opened. On the other hand, Alt-F4 (or the "X" in the top right hand corner) is MWM_FUNC_CLOSE, which is what initiates the expected behavior; just that window is closed, unless it's the only window (or the parent window, like in The Gimp; in those cases the program is closed). Reproducible: Always Steps to Reproduce: Case #1: 1. Open mozilla window #1 on Workspace 1. Open several tabs. 2. Open mozilla window #2 on Workspace 2. Open several tabs. 3. Type Control-Q or click File=>Quit over window #2. Case #2: 4. Repeat steps 1 & 2, then type Alt-F4 or click on the "X" close window button in the upper right corner of the window. Actual Results: Case 1: "Confirm Close" alert dialog appears on a different workspace, over window #1. Case 2: The alert dialog appears on the current workspace, over window #2. Expected Results: "Confirm Close" alert dialog should appear over the window through which the Control-Q/quit command is sent _first_; then cycle through remaining windows. I'm running Red Hat WS3, GNOME 2.2, using the default Metacity window manager.
I should add that the two window hints in motif, MWM_FUNC_QUIT_APP and MWM_FUNC_CLOSE, were present before; however, their function appears to have been slightly modified (improved?). AFAIK, there used to be some reliance on each other, which has now been cleaned up to create two different functions. thx anthony
This is a duplicate of 241152 (and 220385 and 221663 and 241152)
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
This is still an issue in Firefox 1.5.0.9 and 2.0.0.3. Contrary to what Comment #2 says, the core of this issue is not really a duplicate of 220385. If I'm reading 220385 correctly, that bug deals with multiple close all tab dialog boxes appearing. The main complaint of this bug, however, is that the close all tab dialog box appears on a workspace which is not necessarily visible. From the original description, "The alert dialog appears on the first mozilla window to be opened (window #1), not the one through which the quit command originated (window #2), even when it's on a different workspace." Please consider reopening and addressing this bug. Thanks.
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.