Bug 123408 - DEMANDS_ATTENTION remains on even after URGENT hint removed by app
Summary: DEMANDS_ATTENTION remains on even after URGENT hint removed by app
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 01:27 UTC by Michael Tharp
Modified: 2008-12-05 10:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
xprop -spy full log of error (4.99 KB, text/plain)
2006-09-21 09:01 UTC, arrenlex
Details
xprop -spy annotated log of error (3.61 KB, text/plain)
2006-09-21 09:02 UTC, arrenlex
Details
xprop -spy where the bug happened much more quickly (12.83 KB, text/plain)
2006-10-25 06:26 UTC, arrenlex
Details
xprop -spy _NET_WM_STATE WM_HINTS where the bug happened much more quickly (2.25 KB, application/octet-stream)
2006-10-25 06:27 UTC, arrenlex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tharp 2006-03-11 01:27:14 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
Compiler:          x86_64-pc-linux-gnu-3.4.5 
OS:                Linux

Occasionally when using gaim-2.0beta2 with the message notification plugin set to use the URGENT hint, after reading a message and switching to a different application without replying, the panel icon will continue flashing even though the window has gained focus. It has been confirmed (through xprop) that the URGENT hint is being set initially, then unset when the window is focused, but _NET_WM_STATE_DEMANDS_ATTENTION remains on and the taskbar continues flashing whenever the conversation window loses focus. This is most likely NOT a gaim problem, although sending a message will resolve the issue.
This is not easily reproducible, but after a few tries it will eventually occur on my machine.
I am not sure exactly which KDE component is to blame, but since it is most visible in kicker, I am filing it here.
Comment 1 arrenlex 2006-09-21 09:01:09 UTC
Created attachment 17858 [details]
xprop -spy full log of error
Comment 2 arrenlex 2006-09-21 09:02:17 UTC
Created attachment 17859 [details]
xprop -spy annotated log of error

Some repetitive middle bits were taken out.
Comment 3 arrenlex 2006-09-21 09:05:57 UTC
I have also experienced this bug with Gaim 1.5.1cvs and earlier versions, as well as the mentioned Beta2. Gaim developer Etan Reisner (irc deryni) went over the window manager hints log with me and confirmed that this has to do with gaim setting the urgency hint, but gaim seems to be removing the hint correctly. I'm attaching the "xprop -spy WM_HINTS _NET_WM_STATE" logs I took when this error occured: one is the full log, and the other is an annotated version with some of the intermediate repetitions taken out.
Comment 4 arrenlex 2006-10-25 04:22:37 UTC
Wrong component. I tested this bug and found that this is a problem of kwin. Even using Gnome, as soon as I replaced metacity with kwin, this bug occurred.
Comment 5 arrenlex 2006-10-25 06:26:30 UTC
Created attachment 18255 [details]
xprop -spy where the bug happened much more quickly

Shows xprop -spy on the window in question where the bug happened on the second
try.
Comment 6 arrenlex 2006-10-25 06:27:35 UTC
Created attachment 18256 [details]
xprop -spy _NET_WM_STATE WM_HINTS where the bug happened much more quickly

Ran xprop -spy _NET_WM_STATE WM_HINTS on the window in question; bug happened
on the second try.
Comment 7 arrenlex 2006-10-30 04:52:37 UTC
Just wanted to mention this problem still exists on KDE 3.5.5 on i386 installed from ubuntu (edgy) packages, to which I recently upgraded. The bug was reported for a somewhat unusual configuration; just wanted to say it exists on less esoteric setups as well.
Comment 8 Anne-Marie Mahfouf 2008-12-05 10:02:45 UTC
Met Arrenlex on IRC said it's a non-issue and I can close so closing! He also talked to Zarin.