GNOME Bugzilla – Bug 107323
Wrong window ownership for dialogs.
Last modified: 2007-01-08 03:12:35 UTC
Dialogs should be owned by the application that creates them; this forces them to be displayed in front of that application at all times when the application has focus. Repro steps (worked twice, failed after that): Open another window (eg. IE). Select the IE Window. Select the Pan window. Choose "Tools... -> Posting Profiles" Click on the Posting Profiles window. Click on the IE window. Click on the Posting Profiles window again. The Posting Profiles window appears on top of the IE window. The Pan main window appears below IE.
Note to gtk+ team: the posting profiles window was created with gtk_dialog_new_with_buttons (_("Pan: Profile"), parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CLOSE, GTK_RESPONSE_NONE, NULL); This sounds similar to 107319 ...
Reassigning to the owner of the gtk win32 component
A minimal but complete test program would be nice...
I've tested this in the latest development version of GIMP (which more heavily uses transient dialogs as well) and the parent ownership is way off. Is this something that can be worked around or is this something that could be fixed in GTK?
This bug report doesn't specify exactly how the dialog window is created: as transient for the main window? With the modal hint? With the DIALOG type hint? Anyway, this bug can be assumed to be a duplicate of bug #112404. *** This bug has been marked as a duplicate of 112404 ***