Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38117

Accessibility not working on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.2.1
    • None
    • openSUSE Linux 13.1, x86-64, KDE

      I'm working on a larger Qt application for Windows, MacOS X 10.9, and Linux. While on Windows and MacOS accessibility seems to work somewhat out of the box (e.g. tab titles are read), I get nothing on Linux. Meaning the screen reader orca isn't saying anything at all and in accerciser the application isn't even listed (Firefox and accerciser itself are).

      AFAICT accessibility should be built into the Qt version I'm using (installed via the online installer), at least mkspecs/qconfig.pri lists accessibility-atspi-bridge and accessibility in Qt_CONFIG.

      To rule out issues with my application I also tested with the hello world example, with the same result. I'm not sure how to debug this and what info to provide. AFAIK AT SPI works via DBus, so I captured the dbus-monitor output. Starting the hello world example app with either orca or accerciser running I get:

      dbug-monitor output
      signal sender=org.freedesktop.DBus -> dest=(null destination) serial=1217 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
         string ":1.108"
         string ""
         string ":1.108"
      method call sender=:1.108 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
      method call sender=:1.108 -> dest=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
         string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''"
      method call sender=:1.108 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
         string "org.a11y.Bus"
      method call sender=:1.108 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
         string "org.a11y.Bus"
      method call sender=:1.108 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
         string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus'"
      method call sender=:1.108 -> dest=org.a11y.Bus serial=6 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
         string "org.a11y.Status"
         string "ScreenReaderEnabled"
      method return sender=:1.64 -> dest=:1.108 reply_serial=6
         variant       boolean false
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            frederik Frederik Gladhorn
            bonefish Ingo Weinhold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes