Bug#555030: GDK_BUTTON?_MOTION_MASK appears to be broken
Ben Hutchings
ben at decadent.org.uk
Sun Nov 8 04:00:00 UTC 2009
Package: libgtk2.0-0
Version: 2.18.3-1
Severity: important
DVswitch has a custom widget which supports drag selection and
extension, so its event mask is:
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
| GDK_BUTTON1_MOTION_MASK | GDK_BUTTON2_MOTION_MASK
It also adds and removes modal grab as the mouse button is pressed and
released, so that it can detect the end of a drag outside the window.
Today I found that this widget no longer receives motion events, only
press and release events. Adding GDK_POINTER_MOTION_MASK brings back
motion events, but I do not want to receive them while no buttons are
pressed! This is a regression from 2.16, possibly resulting from the
extensive changes to support XInput.
Ben.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.31-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgtk2.0-0 depends on:
ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit
ii libc6 2.10.1-5 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra
ii libcups2 1.4.1-5 Common UNIX Printing System(tm) -
ii libfontconfig1 2.6.0-4 generic font configuration library
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libgnutls26 2.8.4-2 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii libgtk2.0-common 2.18.3-1 Common files for the GTK+ graphica
ii libjasper1 1.900.1-6 The JasPer JPEG-2000 runtime libra
ii libjpeg62 6b-15 The Independent JPEG Group's JPEG
ii libpango1.0-0 1.26.0-1 Layout and rendering of internatio
ii libpng12-0 1.2.40-1 PNG library - runtime
ii libtiff4 3.9.1-1 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxcomposite1 1:0.4.0-4 X11 Composite extension library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxdamage1 1:1.1.1-4 X11 damaged region extension libra
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.2.1-2 X11 Input extension library
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
ii libxrandr2 2:1.3.0-2 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii shared-mime-info 0.60-2 FreeDesktop.org shared MIME databa
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
Versions of packages libgtk2.0-0 recommends:
ii hicolor-icon-theme 0.10-2 default fallback theme for FreeDes
ii libgtk2.0-bin 2.18.3-1 The programs for the GTK+ graphica
Versions of packages libgtk2.0-0 suggests:
ii gvfs 1.4.1-2 userspace virtual filesystem - ser
ii librsvg2-common 2.26.0-1 SAX-based renderer library for SVG
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list