[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#620673: [compiz] Windows do not receive GDK_WINDOW_STATE_WITHDRAWN signal if they disappear due switching to other workspace



Package: compiz
Version: 0.8.4-4
Severity: normal

--- Please enter the report below this line. ---

Hello,

I have usability issues with seahorse password prompt (seahorse-agent from seahorse-plugins package) but it seems to be compiz issue.

Seahorse-agent window is _NET_WM_STATE_ABOVE and grabs keyboard. It has handler for window-state-event signal - it ungrabs keyboard if state is GDK_WINDOW_STATE_WITHDRAWN, but this will not happen if I switch to another workspace. I found out that GDK_WINDOW_STATE_WITHDRAWN should be set (and the signal emitted) if the window is not shown [0]. This is obviously not true for compiz. Metacity does not have this problem.

So if I switch to other workspace, seahorse-agent has still grabbed keyboard, despite it is no more visible.

[0] http://www.gtk.org/api/2.6/gdk/gdk-Event-Structures.html#GdkWindowState

Cheers, Petr

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.32-5-686

Debian Release: 6.0.1
  990 stable          ftp.cz.debian.org
  500 stable-updates  ftp.cz.debian.org
  500 squeeze-backports mozilla.debian.net
  500 proposed-updates ftp.cz.debian.org

--- Package information. ---
Depends               (Version) | Installed
===============================-+-=============
compiz-core        (>= 0.8.4-4) | 0.8.4-4
compiz-plugins     (>= 0.8.4-4) | 0.8.4-4
compiz-gtk         (>= 0.8.4-4) | 0.8.4-4
compiz-gnome       (>= 0.8.4-4) | 0.8.4-4


Package's Recommends field is empty.

Suggests                           (Version) | Installed
============================================-+-===========
compizconfig-settings-manager                | 0.8.4-2





--
S pozdravem,
Petr Gajdůšek



Reply to: