After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 520124 - Tasklist does not update when the demands_attention hint is set on a window
Tasklist does not update when the demands_attention hint is set on a window
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: tasklist
2.20.x
Other All
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-03 16:49 UTC by Danny Baumann
Modified: 2008-03-19 14:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Python test tool (211 bytes, text/x-python)
2008-03-03 16:49 UTC, Danny Baumann
  Details
Should fix the bug (740 bytes, patch)
2008-03-03 20:14 UTC, Vincent Untz
committed Details | Review

Description Danny Baumann 2008-03-03 16:49:28 UTC
Please describe the problem:
Libwnck's tasklist does not update correctly when the _NET_WM_STATE_DEMANDS_ATTENTION hint is set on a window and the window is on another workspace. After an update of the tasklist due to some other even, such as opening a window, the window with the demands_attention hint is properly shown.

Steps to reproduce:
1. Have a window on another workspace
2. Make this window set demands_attention
3. Watch the window not appearing in the tasklist


Actual results:
The window is not visible in the tasklist until another tasklist update happens.

Expected results:
The window should show up immediately.

Does this happen every time?
Yes, at least using Compiz and thus viewports.

Other information:
The problem can be reproduced easily using Compiz from git and a small Python tool I'm going to attach.
Comment 1 Danny Baumann 2008-03-03 16:49:57 UTC
Created attachment 106489 [details]
Python test tool
Comment 2 Vincent Untz 2008-03-03 20:14:46 UTC
Created attachment 106509 [details] [review]
Should fix the bug

I can't test the patch, since I don't have a wm handling viewports... Testing welcome.
Comment 3 Danny Baumann 2008-03-04 07:00:03 UTC
(In reply to comment #2)
> Created an attachment (id=106509) [edit]
> Should fix the bug
> 
> I can't test the patch, since I don't have a wm handling viewports... Testing
> welcome.

This patch works just as expected :)

Comment 4 Vincent Untz 2008-03-19 14:06:51 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.