! 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 !
Application switcher doesn't foucs the application
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Bernhard Walle 2004-11-16 20:48:23 CET
If I choose an application in the middle-click menu of the desktop which is on
another desktop, the desktop is focused but that application doesn't get the
focus. Instead, the last-focused application gets the focus.
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-11-16 21:26:12 CET
are you using the focus-follows-mouse focus model?  if so, if the window isn't
under the mouse when it switches workspaces, the new window won't get the focus.

i use focus-on-click, and i haven't seen the problem you describe.
Comment 2 Bernhard Walle 2004-11-16 21:29:38 CET
I use focus-on-click. Of course, if the window is on the same workspace, it works!
Comment 3 Brian J. Tarricone (not reading bugmail) 2004-11-16 22:06:25 CET
hmm, ok.  do you have the "anti focus stealing" option enabled by chance? 
olivier thinks that might be causing it, if you do.
Comment 4 Bernhard Walle 2004-11-16 22:18:02 CET
Where is this option?
Comment 5 Brian J. Tarricone (not reading bugmail) 2004-11-16 22:38:10 CET
window manager settings, i think.  i'm not on my linux box now, so i can't
check.  olivier just mentioned it to me on IRC a bit ago.
Comment 6 Bernhard Walle 2004-11-16 22:51:40 CET
Don't know what you mean, really.
Comment 7 Brian J. Tarricone (not reading bugmail) 2004-11-20 05:43:02 CET
neither do i, really.

anyway, i'm seeing it too, but only sometimes.  if i have firefox focused on
desktop 1, and go to desktop 2, and then use the windowlist menu to select the
gaim buddy list (on desktop 1), it pops back to desktop 1, raises the gaim buddy
list for a second, and then firefox jumps back up to the top and gets focus.

but, if i have a terminal focused on d1, switch to d2, then use the windowlist
to select the gaim buddy list (on d1), then it works as expected.  i wonder if
firefox is doing something odd to avoid losing focus.  olivier, any ideas?
Comment 8 Olivier Fourdan editbugs 2004-11-20 09:56:23 CET
Sure, when switching workspaces, the window manager set the focus back to the
previous focused windnon on that particular workspace.

It's clearly a race conditiuon between the menu and the WM, but it's fairly
unavoidable (and pretty much harmless IMO)
Comment 9 Olivier Fourdan editbugs 2004-11-20 10:03:51 CET
I'll try to think about it a bit more though.
Comment 10 Olivier Fourdan editbugs 2004-11-20 10:12:25 CET
Just commited a patch to xfdesktop window list that might improve things.
Comment 11 Olivier Fourdan editbugs 2004-11-20 22:38:13 CET
Ok, fixed in CVS. You need to update xfwm4.
Comment 12 Brian J. Tarricone (not reading bugmail) 2004-11-25 05:25:24 CET
if olivier says it's fixed, i'm convinced.

besides, i can't reproduce it anymore ^_~.

Bug #502

Reported by:
Bernhard Walle
Reported on: 2004-11-16
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Additional information