! 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 !
Activating a window from the taskbar doesn't focus it when 'focus follows mouse'


Description Gleb Kozyrev 2014-03-13 18:19:10 CET
If 'focus follows mouse' is enabled, clicking a window button in the taskbar raises the window but doesn't give it focus.
This behavior doesn't match the 4.10 release where the window does get focus.
Annoyingly this makes raising a window with one click, looking at it and then minimizing it with a second click impossible.

I'm running xubuntu 14.04 x64
xfwm4 version 4.11.1 (revision 2b800f4) for Xfce 4.10
xfce4-panel 4.11.0 (Xfce 4.10)
Comment 1 drunkenbatman 2014-06-02 06:02:45 CEST
I can confirm this in 4.11. eg, you'll tap window foo in the taskbar to bring it to the foreground, but tapping it again won't minimize it unless you first bring window foo (or another window) to the foreground. Tested on Gentoo unstable.
Comment 2 o-k 2014-06-05 17:59:32 CEST
I can also confirm this bug and want do provide some additional infos from a thread I started some time ago. Probably they can be useful for fixing:

Comment 3 Octavio Alvarez 2014-06-21 04:01:24 CEST
Confirming bug on Ubuntu 14.04 LTS.
Comment 4 Dorian Fevrier 2014-11-09 15:49:57 CET
Created attachment 5736 
Buttons activated
Comment 5 Dorian Fevrier 2014-11-09 15:52:33 CET
Hi all!

I also use focus on mouse and have this trouble.

I can click as much as I can on the label of a window, it doesn't minimize it...

What make everything weird is that when you click on every taskbar button they are all activated...

Notice I don't have any problem if I use the "Click to focus" (which I never use actually).

Thanks in advance and keep the good job!


Comment 6 Dorian Fevrier 2014-11-09 15:55:33 CET
Oups, my spec: Linux Mint 17 Qiana XFCE.

xfwm4: 4.11.1-2ubuntu-2
xfdesktop4: 4.11.6-1ubuntu-1

Need more infos?
Comment 7 Landry Breuil editbugs 2014-12-10 11:22:23 CET
Regression caused by bug #10508, marking this bug as duplicate of bug 11055 since this is actually a panel bug and not a window manager bug...
Comment 8 Landry Breuil editbugs 2014-12-10 11:22:56 CET
Dupe it - followup in 11055.

*** This bug has been marked as a duplicate of bug 11055 ***
Comment 9 Olivier Fourdan editbugs 2014-12-10 22:22:30 CET
The fix belongs in xfwm4 and not in the panel
Comment 10 Olivier Fourdan editbugs 2014-12-10 22:40:28 CET
Fixed with http://git.xfce.org/xfce/xfwm4/commit/?id=1a20a88
Comment 11 Olivier Fourdan editbugs 2014-12-10 22:42:26 CET
*** Bug 11055 has been marked as a duplicate of this bug. ***
Comment 12 Dorian Fevrier 2014-12-10 22:58:55 CET
Thanks a lot! :)
Comment 13 Judd Montgomery 2015-02-15 16:52:04 CET
Thanks for fixing this.  I just installed this and it seems to work.  This bug had prevented me from upgrading two computers.
Comment 14 Olivier Fourdan editbugs 2015-02-19 09:27:47 CET
*** Bug 11530 has been marked as a duplicate of this bug. ***

Bug #10747

Reported by:
Gleb Kozyrev
Reported on: 2014-03-13
Last modified on: 2015-02-19
Duplicates (2):
  • 11055 "windows button" plugin is broken with "Focus follow the mouse" enabled
  • 11530 When 'focus follow mouse' is enabled, active window does not minimize on Window Button click


Olivier Fourdan
CC List:
9 users




Buttons activated (13.85 KB, image/png)
2014-11-09 15:49 CET , Dorian Fevrier
no flags

Additional information