Left-clicking on an item in tasklist doesn't raise it if it has focus
Submitted by xfc..@..er.net
Assigned to Nick Schermer
Description
I use focus-follows-mouse with raise-on-focus turned off. On a cluttered desktop, I normally will left-click a window in the tasklist in order to (1) restore it (if it's minimized) and (2) raise it. I came to depend on this behavior from many years of using KDE, and it seems Xfce works essentially the same, but there seems to be a bug with it in one situation:
If the window button that I left-click on currently has focus (because it was the last window I rolled over when moving my mouse to the panel), then it won't get raised. I assume that this must be a bug, as it doesn't make much sense that someone using focus-follows-mouse would want a window not to be raised on left-click just because that window happened to be the last one their mouse rolled over before the pointer got into the panel.
In case anything isn't clear, there is some additional discussion of this between myself and ToZ at: https://forum.xfce.org/viewtopic.php?id=10977
Also, I recorded a video of the problem at: https://www.youtube.com/watch?v=YukSJZTgBBs (Note how the first time I left-click on Thunderbird's tasklist entry, it doesn't get raised because my mouse hit it on the way up; but the second time I left-click it, it does, because I avoided it on the way up)
Version: 4.14.0