Bug#780824: gnome-shell: Mouse-up events sometimes ignored during window raise+focus

Brian Julin BJulin at clarku.edu
Fri Mar 20 01:19:18 UTC 2015


Package: gnome-shell
Version: 3.14.2-3+b1
Severity: normal

When GNOME desktop is configured to raise and focus windows on click,
and one clicks on a window title bar to raise it, sometimes the window
remains "grabbed" for moving.  This appears to be due to failure to
handle mouse-up events, because a quick click will often cause this behavior
whereas a slow click-hold-release never causes the behavior.

To ensure that this was not just someone's strange idea of useful behavior,
I also experimented and found that the same is true for window resize:
if you mouse over a low window's edge until you get the resize icon, short
clicks sometimes result in the mouse remaining in resize mode after the
window is raised, while a click-hold-release never does.  It would
be hard to imagine such behavior being considered useful.

I have verified that xev does consistently register ButtonRelease events
(and of course so does evtest) so the events are being lost higher up
than at the raw input level.  When using xev as one of the test windows,
you can see a NotifyGrab event being delivered to the application
with no immediate NotifyRelease event after it, when the problem happens,
and when the problem does not happen, you see a NotifyRelease immediately.

Oddly enough, at least on this laptop, this behavior is significantly
easier to reproduce on the touchpad hardware buttons than it is
to replicate with buttons that belong to the nipplemouse device, so if
replicating please try a few different pointing devices since some may
have slow rebound/debounce.

Expected behavior: no matter how quickly you press+release the mouse
button, after a window is raised it will be released and not follow
the mouse elsewhere or resize.

Filing this on gnome-shell as I do not know what most of the plethora
of other subcomponents actually do these days.

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-back  0.22.0-1
ii  evolution-data-server                    3.12.9~git20141128.5242b0-2+deb8u1
ii  gir1.2-accountsservice-1.0               0.6.37-3+b1
ii  gir1.2-atspi-2.0                         2.14.0-1
ii  gir1.2-caribou-1.0                       0.4.15-1
ii  gir1.2-clutter-1.0                       1.20.0-1
ii  gir1.2-freedesktop                       1.42.0-2.2
ii  gir1.2-gcr-3                             3.14.0-2
ii  gir1.2-gdesktopenums-3.0                 3.14.1-1
ii  gir1.2-gdm3                              3.14.1-6
ii  gir1.2-gkbd-3.0                          3.6.0-1
ii  gir1.2-glib-2.0                          1.42.0-2.2
ii  gir1.2-gnomebluetooth-1.0                3.14.0-2
ii  gir1.2-gnomedesktop-3.0                  3.14.1-1
ii  gir1.2-gtk-3.0                           3.14.5-1
ii  gir1.2-ibus-1.0                          1.5.9-1
ii  gir1.2-mutter-3.0                        3.14.2-1
ii  gir1.2-networkmanager-1.0                0.9.10.0-6
ii  gir1.2-nmgtk-1.0                         0.9.10.0-2
ii  gir1.2-pango-1.0                         1.36.8-3
ii  gir1.2-polkit-1.0                        0.105-8
ii  gir1.2-soup-2.4                          2.48.0-1
ii  gir1.2-telepathyglib-0.12                0.24.1-1
ii  gir1.2-telepathylogger-0.2               0.8.1-1
ii  gir1.2-upowerglib-1.0                    0.99.1-3.1
ii  gjs                                      1.42.0-1
ii  gnome-backgrounds                        3.14.1-1
ii  gnome-icon-theme-symbolic                3.12.0-1
ii  gnome-settings-daemon                    3.14.2-3
ii  gnome-shell-common                       3.14.2-3
ii  gnome-themes-standard                    3.14.2.2-1
ii  gsettings-desktop-schemas                3.14.1-1
ii  libatk-bridge2.0-0                       2.14.0-2
ii  libatk1.0-0                              2.14.0-1
ii  libc6                                    2.19-15
ii  libcairo2                                1.14.0-2.1
ii  libcanberra-gtk3-0                       0.30-2.1
ii  libcanberra0                             0.30-2.1
ii  libclutter-1.0-0                         1.20.0-1
ii  libcogl-pango20                          1.18.2-3
ii  libcogl20                                1.18.2-3
ii  libcroco3                                0.6.8-3+b1
ii  libdbus-glib-1-2                         0.102-1
ii  libecal-1.2-16                           3.12.9~git20141128.5242b0-2+deb8u1
ii  libedataserver-1.2-18                    3.12.9~git20141128.5242b0-2+deb8u1
ii  libgcr-base-3-1                          3.14.0-2
ii  libgdk-pixbuf2.0-0                       2.31.1-2+b1
ii  libgirepository-1.0-1                    1.42.0-2.2
ii  libgjs0e [libgjs0-libmozjs-24-0]         1.42.0-1
ii  libglib2.0-0                             2.42.1-1
ii  libgstreamer1.0-0                        1.4.4-2
ii  libgtk-3-0                               3.14.5-1
ii  libical1a                                1.0-1.3
ii  libjson-glib-1.0-0                       1.0.2-1
ii  libmozjs-24-0                            24.2.0-2
ii  libmutter0e                              3.14.2-1
ii  libnm-glib4                              0.9.10.0-6
ii  libnm-util2                              0.9.10.0-6
ii  libpango-1.0-0                           1.36.8-3
ii  libpangocairo-1.0-0                      1.36.8-3
ii  libpolkit-agent-1-0                      0.105-8
ii  libpolkit-gobject-1-0                    0.105-8
ii  libpulse-mainloop-glib0                  5.0-13
ii  libpulse0                                5.0-13
ii  libsecret-1-0                            0.18-1+b1
ii  libstartup-notification0                 0.12-4
ii  libsystemd0                              215-12
ii  libtelepathy-glib0                       0.24.1-1
ii  libx11-6                                 2:1.6.2-3
ii  libxfixes3                               1:5.0.1-2+b2
ii  mutter                                   3.14.2-1
ii  python                                   2.7.8-4
ii  telepathy-mission-control-5              1:5.16.3-1

Versions of packages gnome-shell recommends:
ii  gdm3                  3.14.1-6
ii  gkbd-capplet          3.6.0-1
ii  gnome-contacts        3.14.1-1
ii  gnome-control-center  1:3.14.2-3
ii  gnome-user-guide      3.14.1-1
ii  unzip                 6.0-16

gnome-shell suggests no packages.

-- no debconf information


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150320/c8486436/attachment-0001.html>


More information about the pkg-gnome-maintainers mailing list