I have prevent_focus_stealing=true in my xfwm4rc. When using gnome-panel and gnome-panel's taskbar applet, and Xfwm4 prevent a window from stealing focus, it show the button for that window in the same way as if the window had the urgent hint, until the window gets focus. It would be very useful if xfce4-panel's task list plugin could do the same, as it is now it can be hard to notice that a window has tried to get focus. It should of course also work for grouped tasks (see bug #537), as it does in gnome-panel. Reproducible: Always Steps to Reproduce: 1. Configure Xfwm4 to prevent focus stealing. 2. Trigger the focus stealing prevention, e.g. by having Firefox in focus and running a Terminal window by clicking on a launcher in a panel. Actual Results: The window with prevented focus doesn't show in the task list in the same way as urgent windows. Expected Results: The window should show in the task list in the same way as urgent windows. Gnome-panel does it, so it's possible. I'm running Xfce SVN under Ubuntu 5.10 with GTK 2.8.6. I'm not sure if this is a bug in xfce4-panel's task list plugin or in libxfcegui4.
Olivier, could you comment on this?
> I'm not sure if this is a bug in xfce4-panel's task list plugin or in libxfcegui4. s/bug in/feature wish for/
xfwm4 does it's part of the job by settings the ET_WM_STATE_DEMANDS_ATTENTION property. It's just not implemented in the tasklist widget.
It's "NET_WM_STATE_DEMANDS_ATTENTION" (missing the leading "N"). And I just checked with GNOME panel to validate the xfwm4 implementation and it seems all fine (ie it works). I tried to change the component to libxfcegui4 (which is where the tasklist is implemented), but I can't find it in the component list...
(In reply to comment #4) > It's "NET_WM_STATE_DEMANDS_ATTENTION" (missing the leading "N"). And I just > checked with GNOME panel to validate the xfwm4 implementation and it seems all > fine (ie it works). > > I tried to change the component to libxfcegui4 (which is where the tasklist is > implemented), but I can't find it in the component list... Aha, a new property. I didn't know about that. So, 'someone' could make a patch to make the tasklist react to this hint in the same ways as it would when the urgent hint is set. Thanks for explaining.
I think this should work when you update to libxfcegui4 from SVN revision 21363. Please reopen if it doesn't work.
Thank you, Jasper. This is very cool, and makes the focus stealing prevention of xfwm4 way more usable. There is, however, one thing. When a window in a grouped task is prevented focus, the text in the taskbar button gets bold, but the button doesn't start blinking. I would be extra happy if grouped task buttons also would blink. Also, while you are at it, you seem (to me) to be very close to be able to also fix bug #537 - but I could be wrong.