Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8
-
None
-
-
1ee349bf9 (dev), 33c7170fc (6.8)
Description
MSVC 2022, Win11, debug
Reproduce:
- Run Widgets example
- Start narrator
- Click in password widget
Expected behavior:
- Cursor is placed in QLineEdit
Actual behavior:
- Assert in QWindowsUiaTextRangeProvider::ExpandToEnclosingUnit
Comment:
QWindowsUiaTextRangeProvider::ExpandToEnclosingUnit does not take into account that QAccessibleTextInterface::text() may return null QString even if QAccessibleTextInterface::characterCount returns non-zero. text() can return null QString if echo-mode is set to Password.
Attachments
For Gerrit Dashboard: QTBUG-126822 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
573816,3 | QWindowsUiaProvider: Check for empty narrator string | dev | qt/qtbase | Status: MERGED | +2 | 0 |
574841,2 | QWindowsUiaProvider: Check for empty narrator string | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |