Version: (using KDE 4.2.0) Installed from: Ubuntu Packages gtk_window_set_urgency_hint does not work for KDE 4.2. Also setting XUrgencyHint hint does not work. Used to work in older KDEs.
Created attachment 34225 [details] sample source code
Created attachment 34226 [details] sample program - binary for the attached source
Your sample application is setting the urgency flag for the currently focused window. KWin treats urgency the same as "demanding attention" and as the focused window already has as much attention as it gets it's perfectly valid to ignore the request. What is your use case for setting urgency for the already focused window?
Thanks for the clarification. Your reasoning is perfectly valid, but metacity and other WMs seem to behave differently. They flash the taskbar even if the window is in focus. I just want my app to behave consistently across different WMs.
I still don't get the usecase. What should be more demanding than having a focused window? If the window fails to show urgency (in worst case with red flashes) how should the window manager help? The maximum what a window manager can provide is giving focus to a window and as the window is already in focus the window manager can't help any further. Please provide a valid usecase. (Saying metacity does that is no justification ;-) ) Currently I consider this as a wontfix, because I can't see any usecase.
flashing the taskbar is job of the taskbar so I reassign to Plasma. Urgency should probably be mapped to the attention state.
Seems to be still valid on an update (some days old) 4.5 trunk...
because of the missing usecase, will this ever be fixed or should this be closed as wontfix?
Please provide a use case
Closing for lack of feedback.