Bug#702912: gtk2: overflown toolbar buttons barred from accessibility tools

Yann Dirson ydirson at free.fr
Tue Mar 12 21:11:22 UTC 2013


Package: python-gtk2
Version: 2.24.0-3+b1
Severity: normal

When a toolbar's parent is not big enough, some items are available to
the user through the overflow menu.  But for tools using the
accessibility feature (for UI testing, or to allow the disabled to use
computer programs), the arrow used by a "normal user" to get the
overflow menu is not visible through AT-SPI.

The accessibility client accesses all buttons that are children of the
toolbar, and can trigger "click" actions on them, even on those not
shown on screen (which can be distinguished though AT-SPI as not
exhibiting the "showing" state).

When the action is triggered this way on a non-showing button,
standard Gtk apps work correctly (executing the action as normal), as
I could test with eg. gnumeric, geany and gschem.  But when doing so
on an app using pygtk, it causes the following error:

GtkWarning: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  gtk.main()

At first I thought it would be a gtk issue, but the success with C apps
makes me think the problem is rather on pygtk side.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0         2.4.0-2
ii  libc6               2.13-38
ii  libcairo2           1.12.2-3
ii  libcomerr2          1.42.5-1
ii  libcups2            1.5.3-2.15
ii  libfontconfig1      2.9.0-7.1
ii  libfreetype6        2.4.9-1.1
ii  libgcrypt11         1.5.0-5
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.33.12+really2.32.4-5
ii  libgnutls26         2.12.20-4
ii  libgssapi-krb5-2    1.10.1+dfsg-4
ii  libgtk2.0-common    2.24.10-2
ii  libk5crypto3        1.10.1+dfsg-4
ii  libkrb5-3           1.10.1+dfsg-4
ii  libpango1.0-0       1.30.0-1
ii  libx11-6            2:1.5.0-1
ii  libxcomposite1      1:0.4.3-2
ii  libxcursor1         1:1.1.13-1
ii  libxdamage1         1:1.1.3-2
ii  libxext6            2:1.3.1-2
ii  libxfixes3          1:5.0-4
ii  libxi6              2:1.6.1-1
ii  libxinerama1        2:1.1.2-1
ii  libxrandr2          2:1.3.2-2
ii  libxrender1         1:0.9.7-1
ii  multiarch-support   2.13-38
ii  shared-mime-info    1.0-1+b1
ii  zlib1g              1:1.2.7.dfsg-13

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme  0.12-1
ii  libgtk2.0-bin       2.24.17-1

Versions of packages libgtk2.0-0 suggests:
ii  gvfs             1.12.3-4
ii  librsvg2-common  2.36.1-1

-- no debconf information




More information about the pkg-gnome-maintainers mailing list