! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Switching workspaces messes up focus/on-top


Description Andrew Conkling 2005-04-09 14:22:10 CEST
I use two workspaces, so I'm often switching back and forth between them. 
However, if I switch from 1 to 2 to 1, I find that focus is lost for the window
I originally had focused on 1.

Also, I have GKrellM sitting on the left-hand side of my screen.  If I open an
app and cover part of GKrellM, switch workspaces, and come back, now GKrellM is
on top of the other app.

I'm assuming this is reproducible?  I have click to focus selected.
Comment 1 Olivier Fourdan editbugs 2005-04-10 19:29:32 CEST
It shows when you witch to an empty workspace, right?

The following scenario is happening:

1) You have several windows on a workspace, including gkrellm which is sticky.
2) You switch to another workspace, and as gkrellm is sticky, it's the only
window that remains visible. Xfwm4 will focus it then, rather than setting focus
to its hidden fallback window
3) you switch back to the 1st workspace. As gkrellm is focused, it stays focused
(being visible an all workspaces)

This is not really a bug, it's rather a side effect of the design.
Comment 2 Andrew Conkling 2005-04-10 19:48:54 CEST
Ah, I see.  Yes, to be honest I never thought to test this with windows open on
both workspaces.

Would there be an opportunity for either of the following: not to grab focus of
windows such as GKrellM (according to some criteria I don't know) or the ability
to remember focus per-workspace?

Comment 3 Olivier Fourdan editbugs 2005-04-10 20:01:32 CEST
Nope, it's more like one way or the other. I can disable that portion of code
that was added in 4.2.1
Comment 4 Olivier Fourdan editbugs 2005-09-06 12:06:22 CEST
This is rally like that by design, I'm not sure I see a bug here. Closing.

Bug #899

Reported by:
Andrew Conkling
Reported on: 2005-04-09
Last modified on: 2009-07-14


Olivier Fourdan
CC List:
0 users



Additional information