[Bug 331835] New: Metacity: Popup dialogs steal focus
https://bugzilla.novell.com/show_bug.cgi?id=331835#c330060 Summary: Metacity: Popup dialogs steal focus Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: rpmcruz@alunos.dcc.fc.up.pt QAContact: qa@suse.de Found By: Other Especially a problem with yast (either with -qt or -gtk), Metacity should not steal focus when another program pops up a dialog. Related: #330060 and #326158 Marked major as the user can mistakenly do a damaging operation -- e.g. if he is pressing Enter when this new dialog pops, its confirm or abort button would get pressed. KDE (i.e. kwin) solution is to have a time span from when the user types/clicks, when it won't let a popup steal focus. Metacity seems to prevent a popup while the user is typing/clicking, but doesn't seem to have a time span (or its way too short). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331835#c1
--- Comment #1 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=331835
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=331835#c2
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=331835#c3
--- Comment #3 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835#c4
--- Comment #4 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=331835#c7
--- Comment #7 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=331835#c8
--- Comment #8 from Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835#c9
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835#c10
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835#c11
--- Comment #11 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=331835#c12
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=331835#c13
--- Comment #13 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=331835#c14
--- Comment #14 from Federico Mena Quintero
Haven't used it a whole lot, but it seems to be working great! I think the time span is bigger now, right? Thanks. But it does still get the focus after some time, as it should.
It's not a time span, actually. What happens now is: 1. If a window gets mapped but it doesn't have _NET_WM_USER_TIME set, Metacity generates a timestamp for it. 2, If a *transient* window appears but doesn't have a timestamp, Metacity will see if its transient parent has a timestamp that it can use. (1) helps with apps launched without startup-notification, like when you run yast2 from a terminal. (2) helps with evil transient dialogs that appear without any user interaction.
Now, I am under the impression that in Metacity 2.18, when a popup doesn't get focus, its main-window entry on the taskbar gets highlight (you know, just like when you launch an app). But maybe I am wrong here, I need to test that. In any case, as you had to dig around to get to the bug, maybe that would be some easy thing to implement?
That is correct, and it happens as well with this patch.
on :)). First, the window placement strategy. Is there any strategy to it actually? :/ A lot of times, it actually overlaps the new window over your current one, when there is enough room on the screen to put it somewhere else.
You can track this upstream at http://bugzilla.gnome.org/show_bug.cgi?id=155460
The second is the maximization action. Most times, you just want to vertically maximize the window, so middle-click on the maximize button should do it (like
You can track this upstream at http://bugzilla.gnome.org/show_bug.cgi?id=358674 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=331835
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835#c15
--- Comment #15 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=331835#c16
Randy Palmer
https://bugzilla.novell.com/show_bug.cgi?id=331835
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c17
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c18
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=331835
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c19
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835
User ast@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c20
Anja Stock
https://bugzilla.novell.com/show_bug.cgi?id=331835
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c21
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=331835
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c22
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=331835
User ast@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c23
--- Comment #23 from Anja Stock
https://bugzilla.novell.com/show_bug.cgi?id=331835
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c24
--- Comment #24 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=331835
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=331835#c25
JP Rosevear
participants (1)
-
bugzilla_noreply@novell.com