After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673399 - Dialog boxes, missing from overlay, can be impossible to find/focus
Dialog boxes, missing from overlay, can be impossible to find/focus
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
3.4.x
Other Linux
: Normal major
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-03 03:05 UTC by Jeremy Nickurak
Modified: 2013-08-26 15:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window: ignore skip-taskbar hint on parentless dialogs (1.26 KB, patch)
2013-08-26 12:52 UTC, Giovanni Campagna
committed Details | Review

Description Jeremy Nickurak 2012-04-03 03:05:56 UTC
Seen this in 3.4, 3.2, and 3.0 as well if I'm not mistaken.

This happens with a number of dialog boxes, some from gnome components, some from other programs.

It's most trivially reproducable with zenity:

Steps to reproduce:
1) From a terminal, run: zenity --info &
(note the ampersand, to put this into the background)
2) Notice the dialog box.
3) Exit the terminal, leaving the dialog active.
4) Open another window, say, gedit.
4) Raise and move gedit above the dialog box.
5) Attempt to find/select the dialog box, pretending you hadn't noticed it before.

You'll find that it's not selectable by alt-tab, it's not in the overlay, and it's not on the left launcher bar. It's virtually impossible to ever find again... unless you happen to close gedit, or move it in just the right way.
Comment 1 Allan Day 2013-08-26 00:06:38 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 650843 ***
Comment 2 Jeremy Nickurak 2013-08-26 01:53:11 UTC
Actually, I think this is a different case, since I'm seeing it with dialog boxes that have no "parent" window. They're not even modal windows, as described in that defect.
Comment 3 Giovanni Campagna 2013-08-26 12:51:28 UTC
This is caused by GtkMessageDialog having the skip-taskbar true by default, even if the dialog is parentless.
This is kind of broken, but I think we can't change gtk+ for compatibility reasons.
Instead, we can workaround it in mutter.
Comment 4 Giovanni Campagna 2013-08-26 12:52:01 UTC
Created attachment 253127 [details] [review]
window: ignore skip-taskbar hint on parentless dialogs

Dialogs that don't have a parent should not be skip-taskbar,
otherwise they get lost and there is no way to recover them
(because they're not autoraised when activating the parent),
but toolkits and applications set the hint anyway.
Comment 5 Jasper St. Pierre (not reading bugmail) 2013-08-26 13:27:44 UTC
Review of attachment 253127 [details] [review]:

OK.
Comment 6 Giovanni Campagna 2013-08-26 15:36:13 UTC
Attachment 253127 [details] pushed as eeed3d6 - window: ignore skip-taskbar hint on parentless dialogs