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 123717 - Changing workspaces with the mouse unfocuses windows
Changing workspaces with the mouse unfocuses windows
Status: RESOLVED DUPLICATE of bug 135810
Product: gnome-panel
Classification: Other
Component: workspace switcher
2.4.x
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 149674 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-10-02 16:07 UTC by Marcin Kowalczyk
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcin Kowalczyk 2003-10-02 16:07:19 UTC
Let's have one maximized window on the first workspace and one on the
second, and suppose the first one has focus. When I click on the second
workspace with the mouse and then select the first workspace with the
keyboard, the window (the only one visible) no longer has focus. This is
annoying; switching workspaces using keyboard doesn't lose focus.

I'm not sure if this is the responsibility of the workspace switcher or the
window manager. I'm using metacity with switching windows on click.
Comment 1 Marcin Kowalczyk 2003-10-07 08:54:38 UTC
I guessed what causes this: when I click anywhere on a panel (e.g. to
switch workspaces or to switch windows), the panel gets focus on the
current workspace and thus the previously focused window loses focus.

Although there is a logic in this, it would be more convenient to let
the panel not grab focus so easily, e.g. if I'm doing just a single
click which immediately takes the focus elsewhere anyway. When I go
back to this workspace with the keyboard, the only application window
is unfocused just because several minutes earlier I used the panel to
switch from this workspace...
Comment 2 Vincent Noel 2004-08-09 14:06:49 UTC
*** Bug 149674 has been marked as a duplicate of this bug. ***
Comment 3 Vincent Noel 2004-08-09 14:11:58 UTC
I think the recent changes in metacity fixed this problem. Marking as a dup of
bug 135810, please feel free to re-open if you still see this bug.

*** This bug has been marked as a duplicate of 135810 ***
Comment 4 Elijah Newren 2004-08-09 14:51:55 UTC
Yeah, the recent changes fix this.  However, a closer match is bug 120100.  For
the specific case that the reporter mentions (i.e. the mouse is over the panel),
if he/she is using sloppy focus, then the changes in bug 135810 were needed in
addition to the patch in 120100.