Bug#567608: metacity: GTK's window-state-event reports sticky state wrongly
John Lindgren
john.lindgren at tds.net
Sat Jan 30 04:52:57 UTC 2010
Package: metacity
Version: 1:2.28.0-3
Severity: normal
With a simple GTK test program, the window-state-event signal is broken
under Metacity when gtk_window_stick is called on startup. On startup,
the signal is sent four times, alternately claiming that the window is
sticky and then it is not. When I then set the test window not to be
sticky, the signal is sent twice, first claiming that the window is
sticky and then that it is not. After this, toggling the sticky state
after this sends the correct signal. Test program (stick.c) is
attached.
$ ./stick
Sticky? Yes.
Sticky? No.
Sticky? Yes.
Sticky? No.
<<< Right-click title bar, click "Only on This Workspace"
Sticky? Yes.
Sticky? No.
<<< Right-click title bar, click "Always on Visible Workspace"
Sticky? Yes.
<<< Right-click title bar, click "Only on This Workspace"
Sticky? No.
XFWM has a similar but not identical problem, #567607.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages metacity depends on:
ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra
ii libcanberra-gtk0 0.22-1 Gtk+ helper for playing widget eve
ii libcanberra0 0.22-1 a simple abstract interface for pl
ii libgconf2-4 2.28.0-1 GNOME configuration database syste
ii libglib2.0-0 2.22.4-1 The GLib library of C routines
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libgtop2-7 2.28.0-4 gtop system monitoring library (sh
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libmetacity-private0 1:2.28.0-3 library for the Metacity window ma
ii libpango1.0-0 1.26.2-1 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libstartup-notification0 0.10-1 library for program launch feedbac
ii libx11-6 2:1.3.3-1 X11 client-side library
ii libxcomposite1 1:0.4.1-1 X11 Composite extension library
ii libxcursor1 1:1.1.10-1 X cursor management library
ii libxdamage1 1:1.1.2-1 X11 damaged region extension libra
ii libxext6 2:1.1.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.4-1 X11 miscellaneous 'fixes' extensio
ii libxinerama1 2:1.1-2 X11 Xinerama extension library
ii libxrandr2 2:1.3.0-2 X11 RandR extension library
ii libxrender1 1:0.9.5-1 X Rendering Extension client libra
ii metacity-common 1:2.28.0-3 shared files for the Metacity wind
ii zenity 2.28.0-1 Display graphical dialog boxes fro
Versions of packages metacity recommends:
ii openbox [x-session-manager] 3.4.10-1 standards compliant, fast, light-w
ii xfce4-session [x-session-mana 4.6.1-1 Xfce4 Session Manager
Versions of packages metacity suggests:
pn gnome-control-center <none> (no description available)
pn gnome-themes <none> (no description available)
pn xdg-user-dirs <none> (no description available)
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stick.c
Type: text/x-csrc
Size: 658 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100129/9f3f6a2c/attachment.c>
More information about the pkg-gnome-maintainers
mailing list