[Bug 619809] New: Grabbing a window to move grabs another instead (Window focus)
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c0 Summary: Grabbing a window to move grabs another instead (Window focus) Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: mcs@darkregion.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100611 SUSE/3.6.4-3.2 Firefox/3.6.4 WebSlideShow/1.4.0 When grabbing a second application window, just after maximizing another application window, focus tends to remain on the window that was maximized. This is noticeable when attempting to move the second window (by grabbing it's title bar), and also when attempting to right-click on the second window's title bar. Reproducible: Always Steps to Reproduce: 1. Open any two applications (two gnome-terminal's, or even one gnome-terminal and firefox). 2. If any of the applications open maximized, restore it to its non-maximized state. 3. Maximize one of the applications, and raise the second (non-maximized) application to the foreground - above the one that's maximized. 4. Now attempt to move or right-click on the title bar of the second application. This also works if in step 3 you also maximize the second application; neither of which should be happening. Actual Results: Focus is drawn to the first application that was maximized, and all initial efforts to move the second (focused) window or right-click on it, goes to the first window instead. Expected Results: The second (focused) window should be the one to move and right-clicking the title-bar should also observe this. (Notice when right-clicking the second non-maximized application, focus goes to the first maximized application, and you have the option of unmaximizing (the first application).) No real workaround that I can see, other than fixing your window situation after the fact. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c1 Matt Smith <mcs@darkregion.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcs@darkregion.net --- Comment #1 from Matt Smith <mcs@darkregion.net> 2010-07-04 23:35:41 UTC --- This also happens even while the applications are still running: - Restore a window to its non-maximized state again, and then maximize it again. - Try moving/right-clicking the title bar of the second application. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c2 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |vuntz@novell.com InfoProvider| |mcs@darkregion.net --- Comment #2 from Vincent Untz <vuntz@novell.com> 2010-07-05 07:57:26 UTC --- Are you running compiz or metacity? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c3 --- Comment #3 from Matt Smith <mcs@darkregion.net> 2010-07-05 08:47:13 UTC --- I'm running metacity: # ps aux | grep -iE '(compiz|metacity)' matt 3188 0.0 0.2 238544 18116 ? S Jul04 0:01 /usr/bin/metacity -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c4 --- Comment #4 from Vincent Untz <vuntz@novell.com> 2010-07-05 10:03:41 UTC --- Oh, and how do you raise the second application? With the window list? Alt-tab? Something else? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c5 --- Comment #5 from Vincent Untz <vuntz@novell.com> 2010-07-05 12:47:32 UTC --- I can't reproduce here, with two terminals. Can you describe the steps again, but saying "window A/window B" instead of first and second? (just to be sure I'm not misunderstanding something) Also, do you have any unusual setting for metacity? Like sloppy focus? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c6 --- Comment #6 from Matt Smith <mcs@darkregion.net> 2010-07-05 19:27:59 UTC --- Sorry, I didn't think to mention that. I raised the windows in this example via the Window List buttons, but actually, the same thing occurs after raising with Alt-Tab. When searching through gconf-editor for "focus" in the key names and key values, the only relevant results I see, including the one you mentioned, are: /apps/metacity/general/focus_new_windows = smart (possible values: smart, strict) /apps/metacity/general/focus_mode = click (possible values: click, sloppy, mouse) But yeah, here's the steps again: 1. Open two gnome-terminal's, Window A and Window B. 2. If either A or B opens maximized, restore them to their unmaximized state. 3. Maximize A (and B, if you wish) and then raise B via Window List or Alt-tab. 4. Grab the title-bar of B and try to move it; A takes focus and is moved/unmaximized instead. Interestingly, I just now somehow managed to stop this behavior. I should mention that I normally maximize a window by double-clicking it's title bar; that's how I have the title bar's double-click configured here. I'm considering that when I maximized using the maximize title bar button (with the skin/theme I'm using), may have been what "cured" this behavior. I'll see if I can confirm this and whether or not changing focus_mode/focus_new_windows to something else and back again will help. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c7 --- Comment #7 from Matt Smith <mcs@darkregion.net> 2010-07-05 19:54:27 UTC --- Ok, here's what I've observed so far: - This is easier to reproduce when you have just two windows open. - Using the title bar's maximize button avoids this issue; it only seems to occur when double-clicking the title bar to maximize. - In step 3 above, when attempting to maximize Window B via double-clicking the title bar, the very first click will instead bring focus to Window A. After this, you can raise Window B again, without having focus diverted to Window A when attempting to move or maximized Window B. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c8 --- Comment #8 from Matt Smith <mcs@darkregion.net> 2010-07-05 20:30:57 UTC --- More stuff observed: - Changing focus_new_windows and focus_mode, rebooting, changing them back to "smart" and "click" respectively, did not change anything. - You can unmaximize Window A however you want, and raise Window B however you want. Bottom line: as long as you maximize Window A by double-clicking the title bar, it will happen. So apparently the code for double-clicking is either different from a regular click on the maximize button, or it needs to differentiate between the two and act accordingly. I could maybe take a look at the source code, but I'm unsure of how to build a new package from it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c9 Matt Smith <mcs@darkregion.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mcs@darkregion.net | --- Comment #9 from Matt Smith <mcs@darkregion.net> 2010-07-10 04:27:51 UTC --- Updating bug status -> Provided necessary info. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c10 --- Comment #10 from Matt Smith <mcs@darkregion.net> 2010-07-16 04:46:48 UTC --- This is a duplicate of GNOME's Bugzilla ID #599181: https://bugzilla.gnome.org/show_bug.cgi?id=599181 Also, using the following patch, I was able to build a version of metacity for openSUSE 11.3 that fixes the bug. The patch: https://bugzilla.gnome.org/attachment.cgi?id=163949 My patched version of metacity for openSUSE 11.3: http://download.opensuse.org/repositories/home:/mattx86/openSUSE_11.3/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c11 Matt Smith <mcs@darkregion.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Version|RC 2 |Final Resolution| |UPSTREAM --- Comment #11 from Matt Smith <mcs@darkregion.net> 2010-07-16 05:18:36 UTC --- Updating bug status -> Closed/Upstream. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619809 http://bugzilla.novell.com/show_bug.cgi?id=619809#c12 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED URL| |https://bugzilla.gnome.org/ | |show_bug.cgi?id=599181 Resolution|UPSTREAM | Summary|Grabbing a window to move |[maintenance] Grabbing a |grabs another instead |window to move grabs |(Window focus) |another instead (Window | |focus) --- Comment #12 from Vincent Untz <vuntz@novell.com> 2010-07-16 07:49:49 UTC --- Ah, good catch. We might want to do a maintenance update for this (so reopening to track this), but I think it'd be safer if the patch gets committed upstream first. -- Configure bugmail: http://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=619809 https://bugzilla.novell.com/show_bug.cgi?id=619809#c13 --- Comment #13 from Matt Smith <mcs@darkregion.net> 2011-01-01 04:16:16 UTC --- According to the last comment at the GNOME Bugzilla, the code is now in upstream: https://bugzilla.gnome.org/show_bug.cgi?id=599181#c28 Can someone verify that it has been pulled to the official openSUSE package(s)? -- 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=619809 https://bugzilla.novell.com/show_bug.cgi?id=619809#c14 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #14 from Vincent Untz <vuntz@suse.com> 2012-05-15 17:37:17 UTC --- There was no 11.3 maintenance update for metacity for this... -- 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.
participants (1)
-
bugzilla_noreply@novell.com