! 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 !
Workspace switch with keyboard should remember active window even if focus-fo...


Description Bernhard Walle 2007-04-21 21:26:34 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv: Gecko/20061023 SUSE/ Firefox/
Build Identifier: 

IMO even if focus-follows-mouse is active, a workspace switch via keyboard shortcut should remember the last active window.

Reproducible: Always

Steps to Reproduce:
1. open two windows on workspace 1, make A active
2. switch to workspace 2
3. mouse mouse where window B is placed
4. switch to workspace 1

Actual Results:  
Window B is the active window

Expected Results:  
Window A should be still the active window
Comment 1 Olivier Fourdan editbugs 2007-04-21 21:28:43 CEST
Oh no, I disagree. If you use focus follow mouse, you should expect to have the window under the mouse focused.
Comment 2 Bernhard Walle 2007-04-21 21:32:31 CEST
But then Alt-Tab is also not logical. :-)
Comment 3 Olivier Fourdan editbugs 2007-04-21 21:37:55 CEST
Again, I disagree. This is unrelated, the purpose of alt-tab is to transfer focus, so if it did not set focus on the selected window, then that would be a bug.
Comment 4 Olivier Fourdan editbugs 2007-04-21 21:44:06 CEST
Created attachment 1097 
Patch that removes the focus update in focus-follow-mouse mode

BTW, the patch is trivial, but it doesn't make sense. It's up to you to convince me to appy this on trunk ;-)
Comment 5 Bernhard Walle 2007-04-21 21:49:18 CEST
Well, my use case is having a chat window on another desktop and switch to that desktop via keyboard, write some words in the chat and switch back to do real work. Without having to move my mouse.

Maybe I should use click-to-focus again. I have to think about this more. Maybe a hidden option in the rc file (I know, everybody doesn't like too much options).
Comment 6 Olivier Fourdan editbugs 2007-04-21 21:50:40 CEST
... Or, last option, use the patch for your own use ;-)

Bug #3169

Reported by:
Bernhard Walle
Reported on: 2007-04-21
Last modified on: 2009-07-14


Olivier Fourdan
CC List:
0 users



Additional information