Bug#847438: libgtk2.0-0: Keyboard grab not released after keyboard intractions with some menus

Colomban Wendling cwendling at hypra.fr
Thu Dec 8 09:21:17 UTC 2016


Package: libgtk2.0-0
Version: 2.24.25-3+deb8u1
Severity: normal
Tags: upstream patch

Dear Maintainer,

In some cases, GTK will not release the keyboard grab after interacting with
menus, leading to the keyboard being unusable in any other app/widget (not
even WM/desktop shortcuts).  The grab can be force-released only by a mouse
interaction, rendering keyboard-only navigation impossible.  This is
especially problematic for people relying on accessibility features, but it
affects eveyone falling in the issue as normal input doesn't work anymore.

This issue is for example visible in mate-panel's main menu.

Upstream GTK report: https://bugzilla.gnome.org/show_bug.cgi?id=554057
It was against GTK3 in its early days, but affects GTK2 just the same.
Patch backporting the changs to GTK2 is available in comment #18:
https://bugzilla.gnome.org/show_bug.cgi?id=554057#c18
This report includes a simple test application that reproduces the issue.

Report on mate-panel: https://github.com/mate-desktop/mate-panel/issues/505

Please consider including this patch in order to fix keyboard grab lockup
at least when navigating mate-panel with the keyboard.

Regards,
Colomban


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

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

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0          2.14.0-1
ii  libc6                2.19-18+deb8u6
ii  libcairo2            1.14.0-2.1+deb8u1
ii  libcups2             1.7.5-11+deb8u1
ii  libfontconfig1       2.11.0-6.3+deb8u1
ii  libfreetype6         2.5.2-3+deb8u1
ii  libgdk-pixbuf2.0-0   2.31.1-2+deb8u5
ii  libglib2.0-0         2.42.1-1+b1
ii  libgtk2.0-common     2.24.25-3+deb8u1
ii  libpango-1.0-0       1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libpangoft2-1.0-0    1.36.8-3
ii  libx11-6             2:1.6.2-3
ii  libxcomposite1       1:0.4.4-1
ii  libxcursor1          1:1.1.14-1+b1
ii  libxdamage1          1:1.1.4-2+b1
ii  libxext6             2:1.3.3-1
ii  libxfixes3           1:5.0.1-2+b2
ii  libxi6               2:1.7.4-1+b2
ii  libxinerama1         2:1.1.3-1+b1
ii  libxrandr2           2:1.4.2-1+b1
ii  libxrender1          1:0.9.8-1+b1
ii  multiarch-support    2.19-18+deb8u6
ii  shared-mime-info     1.3-1

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme  0.13-1
ii  libgtk2.0-bin       2.24.25-3+deb8u1

Versions of packages libgtk2.0-0 suggests:
ii  gvfs             1.22.2-1
ii  librsvg2-common  2.40.5-1+deb8u2

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-GtkMenuShell-always-activate-menu-shells.patch
Type: text/x-diff
Size: 3225 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20161208/1c28d8d0/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list