Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.15, 6.7.2
-
None
-
-
3cfabf92b (dev), 77b8cd0a4 (6.8), 37bafaf06 (6.7)
Description
Steps to reproduce:
- Launch the attached test case (qt-bug.py)
- Launch the attached accessible event listener (child-at-index.py) in a terminal
- In the test case, expand "Root" and arrow up and down in the tree
Expected results: No errors would be printed by the listener.
Actual results: Errors are printed by the listener.
Given an accessible object "obj", `obj.parent[obj.getIndexInParent()]` should return `obj`; not a clone of that object. That's not the case with QTreeWidget.
The Orca screen reader (which I maintain) makes decisions about what to speak and display in braille that depend on whether or not a given object is the current object of interest/focus. Orca makes that determination via a simple equality check. That check is failing because of this bug.
In earlier versions of Orca, Orca had heuristics which attempted to determine if two objects were functionally the same thing by comparing roles, names, descriptions, paths, bounding boxes, etc. That work, despite being quite thorough, still had false positives. And it was not performant. Therefore Orca doesn't do that any more.
Attachments
Issue Links
- relates to
-
QTBUG-131481 Qt Linguist: Runtime warnings about QAccessibleTree::indexFromLogical: invalid index: 7 0
-
- Open
-