Public bug reported:

Binary package hint: window-picker-applet

When a window requests attention, its icon flashes in window-picker-
applet.

However, when I uncheck the setting "Show windows from all workspaces"
and a window on a different workspace  requests attention, I don't see
it until I switch to the workspace containing the window.

The patch below modifies the behaviour so that windows requesting
attention are visible on all workspaces.

This happens on window-picker-applet-0.5.10 on Ubuntu 10.04.2 LTS, but
the patch is against the latest upstream git, which I believe is called
0.5.8-1?

Note other words for workspace may include viewport or virtual desktop.

diff --git a/src/task-item.c b/src/task-item.c
index 55f3e27..c99c6b4 100644
--- a/src/task-item.c
+++ b/src/task-item.c
@@ -170,7 +170,11 @@ task_item_set_visibility (TaskItem *item)
   
   if (!wnck_window_is_skip_tasklist (window)) 
   {
-    if (wnck_workspace_is_virtual (workspace))
+    if (wnck_window_or_transient_needs_attention (window))
+    {
+      show_window = TRUE;
+    }
+    else if (wnck_workspace_is_virtual (workspace))
     {
       show_window = wnck_window_is_in_viewport (window, workspace);
     }

** Affects: window-picker-applet (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798197

Title:
  [PATCH] Can't see window requesting attention from a different
  workspace

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/window-picker-applet/+bug/798197/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to