Package: gnome-orca Version: 3.14.0-2 Severity: important Hello,
When bug #777377 of xbrlapi is fixed, the gnome-orca output will be broken, because gnome-orca has the same issue as xbrlapi: lightdm only defines XDG_VTNR to the VT number (for instance 7), not WINDOWPATH, and gnome-orca only knows about the latter, and thus confusingly attaches itself to the X window 7 of the VT 7, and thus its output gets lost. The attached patch makes orca aware of XDG_VTNR too, thus fixing the issue. This change does not hurt even when xbrlapi is not fixed, so orca can be uploaded first, and the fixed xbrlapi uploaded after that, Breaks-ing the previous version of orca. Samuel -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.18.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages gnome-orca depends on: ii gir1.2-glib-2.0 1.42.0-2.2 ii gir1.2-gtk-3.0 3.14.5-1 ii gir1.2-pango-1.0 1.36.8-3 ii gir1.2-wnck-3.0 3.4.9-3 ii gsettings-desktop-schemas 3.14.1-1 ii python3 3.4.2-2 ii python3-brlapi 5.2~20141018-2 ii python3-cairo 1.10.0+dfsg-4+b1 ii python3-gi 3.14.0-1 ii python3-louis 2.5.3-3 ii python3-pyatspi 2.14.0+dfsg-1 ii python3-speechd 0.8-7 pn python3:any <none> ii speech-dispatcher 0.8-7 Versions of packages gnome-orca recommends: ii libgail-common 2.24.25-1 ii xbrlapi 5.2~20141018-2 gnome-orca suggests no packages. -- no debconf information -- Samuel <c> tiens, je suis déçu <c> quand on clique sur le bouton random de http://xkcd.com/221/ on ne tombe pas (toujours) sur http://xkcd.com/4/ <c> bon, j'envoie un bug-report à l'auteur
--- /tmp/gnome-orca-3.14.0/src/orca/braille.py 2014-09-18 14:43:51.000000000 +0200 +++ src/orca/braille.py 2015-02-02 00:19:04.215929615 +0100 @@ -1719,6 +1719,15 @@ "Braille module has been initialized using WINDOWPATH=" \ + "%s" % windowPath) except: + try: + vtnr = os.environ["XDG_VTNR"] + _brlAPI.enterTtyModeWithPath() + _brlAPIRunning = True + debug.println(\ + debug.LEVEL_CONFIGURATION, + "Braille module has been initialized using XDG_VTNR=" \ + + "%s" % vtnr) + except: _brlAPI.enterTtyMode(tty) _brlAPIRunning = True debug.println(\