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 313880 - Focus grabbed in panel when navigating between main menu and other activators.
Focus grabbed in panel when navigating between main menu and other activators.
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: panel
2.12.x
Other All
: Normal major
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 329856 336230 344048 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-08-18 19:27 UTC by Kamila Chyla
Modified: 2009-07-12 11:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Kamila Chyla 2005-08-18 19:27:21 UTC
Please describe the problem:
Panel grabs the focus when (using standard metacity global keybindings) a focus
is moved to panel, then main menu is selected (using keybard left arrow), popped
up (left arrow), closed (esc) and then focus is moved to the first activator on
the right of the menu (tab). Standard keybindings are not working.

Steps to reproduce:
1. switch_panels <Control><Alt><Tab>  (focus is moved to the panel)
2. navigate to "gnome main menu" applet with keyboard left arrow (menu is the
first applet in the panel)
3. pop up the main menu (left arrow)
4. close the main menu (esc)
5. press tab to move focus to the next applet/activator in the panel


Actual results:
The focus is on the applet/activator next to the "main menu" and cannot be
moved. Standard metacity keybindings are not working, e.g. switch_panels
(<Control><Alt><Tab>)  or switch_to_workspace (<Control><Alt><Left>)

Expected results:
Standard metacity keybindings should work.

Does this happen every time?
Yes.

Other information:
Comment 1 Vincent Untz 2005-09-18 16:25:23 UTC
I can see it too. Weird. I don't know why this happens...
Comment 2 Elijah Newren 2006-06-06 18:59:47 UTC
*** Bug 344048 has been marked as a duplicate of this bug. ***
Comment 3 Elijah Newren 2006-06-06 19:11:04 UTC
I can still duplicate in 2.14.x.  What's even more odd is that by choosing the shut down option and then cancelling, the focus does go to one of the apps on the desktop (the most recently used one) but the global keybindings still don't work and the panel menu still appears highlighted.
Comment 4 Elijah Newren 2006-06-06 19:13:19 UTC
Ah, got a little more info.  Most metacity keyboard commands will fail if it can't grab either the mouse or the keyboard.  There is at least one command (Ctrl-Alt-Shift-<Arrow> to move the currently focused window to another desktop) which only fails if grabbing the keyboard fails.  After triggering this bug and using the steps in comment 3 to get a window to be focused, I can use Ctrl-Alt-Shift-<Arrow> to move the window to another workspace, I just can't get other keybindings to work.  So this appears to be a stuck mouse grab rather than a stuck keyboard grab.
Comment 5 Elijah Newren 2006-06-06 20:06:46 UTC
*** Bug 336230 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2006-08-09 10:13:19 UTC
*** Bug 329856 has been marked as a duplicate of this bug. ***
Comment 7 Elijah Newren 2006-08-09 14:43:59 UTC
Matthias points out the likely cause of this in bug 329856, so if any volunteer wants to debug...   :)
Comment 8 Sebastien Bacher 2006-09-01 15:29:32 UTC
Ubuntu bug about that: https://launchpad.net/products/gnome-panel/+bug/57939
Comment 9 Kamila Chyla 2009-07-05 18:06:29 UTC
Now (after bug 329856 has been fixed?) it seems this bug does not appear anymore (in gnome 2.26.1). Should probably be resolved as NOTABUG.
Comment 10 Martin Mai 2009-07-12 11:30:46 UTC
It is still an issue with gnome-panel 2.26.3. Just as the launchpad reporter describes:
1. Open a random application.
2. Press Ctrl-Alt-Esc to focus the main menu bar.
3. Press the right arrow key to make the applications-menu appear.
4. Try to focus the window of the application opened at step 1 using only the keyboard.

It is not possible to focus any other window or to get away from the applet you navigated to.Not with Ctrl+Alt+Esc, not with Alt-Tab nor with everything else. One has to use the mouse and click a window to get the normal behaviour back.

Please reopen this bug.