Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.6
-
None
Description
from documentation: https://doc.qt.io/qt-5/qaccessibleinterface.html#rect
QRect QAccessibleInterface::rect() const Returns the geometry of the object. The geometry is in screen coordinates.
But standard AccessibleInterface for QuickView return unexpected result in some cases. If QuickView is independent window, then result is correct. But if QuickView integrated into some window, for example, QMainWindow, then return value of method QAccessibleInterface::rect() is incorrect. I tested two case: using QScrollArea + QuickView and simply QuickView.
In case QScrollArea + QuickView:
rect return value like x: 0, y: 0, width: correct width, height: correct height
In case QuickView without QScrollArea return result has format:
x: x relatively to top window, y: y relatively to top window, width and height correct.
Minimal reproducable example: https://github.com/DimaKoltun/QuickView-Accessible-Bug