Bug 195064 - gtk_window_set_urgency_hint does not work for KDE 4.2
Summary: gtk_window_set_urgency_hint does not work for KDE 4.2
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 06:58 UTC by Damanjit Singh
Modified: 2012-05-28 22:27 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
sample source code (1.08 KB, text/plain)
2009-06-03 07:03 UTC, Damanjit Singh
Details
sample program - binary for the attached source (13.25 KB, application/octet-stream)
2009-06-03 07:04 UTC, Damanjit Singh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damanjit Singh 2009-06-03 06:58:50 UTC
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.
Comment 1 Damanjit Singh 2009-06-03 07:03:27 UTC
Created attachment 34225 [details]
sample source code
Comment 2 Damanjit Singh 2009-06-03 07:04:15 UTC
Created attachment 34226 [details]
sample program - binary for the attached source
Comment 3 lucas 2009-06-03 10:33:18 UTC
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?
Comment 4 Damanjit Singh 2009-06-03 10:55:17 UTC
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.
Comment 5 Martin Flöser 2009-06-04 22:42:56 UTC
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.
Comment 6 Martin Flöser 2009-09-06 23:38:00 UTC
flashing the taskbar is job of the taskbar so I reassign to Plasma. Urgency should probably be mapped to the attention state.
Comment 7 Dario Andres 2010-01-13 15:17:25 UTC
Seems to be still valid on an update (some days old) 4.5 trunk...
Comment 8 Beat Wolf 2010-05-07 14:43:32 UTC
because of the missing usecase, will this ever be fixed or should this be closed as wontfix?
Comment 9 Nicolas L. 2010-06-07 08:59:05 UTC
Please provide a use case
Comment 10 Myriam Schweingruber 2012-05-28 22:27:16 UTC
Closing for lack of feedback.