-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.10.0 FF
-
None
-
Debian testing, qtbase git dev as of commit b119fee87d5579dc1c4bfc2f508b0e3a75d69fa3
-
-
befce757f (dev), bd1cb1547 (6.9)
On Linux with AT-SPI2, applications are part of the accessibility hierarchy that has the desktop as it's root object.
However, Qt applications currently don't report any accessible parent.
Steps to reproduce:
- start any Qt application e.g. the spinboxes example (qt5/qtbase/examples/widgets/widgets/spinboxes/spinboxes)
- start Accerciser
- select the Qt application in Accerciser's tree view showing all applications registered via AT-SPI (and their hierarchy)
- in Accerciser's IPython console, query the parent of the application:
In [7]: acc.parent In [8]: acc.parent == None Out[8]: True
Actual result:
No parent is reported (s. above)
Expected result:
The AT-SPI desktop object should be reported.
This e.g. works just fine for GTK applications like gtk3-demo:
In [9]: acc.parent
Out[9]: <Atspi.Accessible object at 0x7fbebc3fc1c0 (AtspiAccessible at 0x139d6410)>
In [10]: acc.parent.role
Out[10]: <enum ATSPI_ROLE_DESKTOP_FRAME of type Atspi.Role>
For Gerrit Dashboard: QTBUG-132935 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
618276,4 | a11y atspi: Report app parent | dev | qt/qtbase | Status: MERGED | +2 | 0 |
620923,2 | a11y atspi: Report app parent | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |