summaryrefslogtreecommitdiffstats
path: root/src/android/jar/src/org/qtproject/qt/android/QtNative.java
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2023-11-10 11:19:11 +0100
committerJan Arve Sæther <jan-arve.saether@qt.io>2023-11-23 13:25:41 +0100
commitbc8141d286727e7c7b21d61556852ee78acd56c3 (patch)
tree2045745fa8f7cbb585116291bf185ef4e8869409 /src/android/jar/src/org/qtproject/qt/android/QtNative.java
parent1082038bd89d0bbba4df0d9b3f8af3cd0a2f96f2 (diff)
a11y: Fix bug where some characters were not spoken while moving cursor
The problem occurred when we moved the cursor to the penultimate character of the string, because the boundary condition was wrong. It is important to realize that the offsets are moved *between* each character (and also before and after the whole string), just like you would move a cursor. This means that the offsets can be in the range [0, len] (closed interval) The problem could only be reproduced with JAWS. Pick-to: 6.6 6.5 6.2 Fixes: QTBUG-115156 Change-Id: I0c5f05fa391e6c7744ab22d71afe8904b49e89bc Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'src/android/jar/src/org/qtproject/qt/android/QtNative.java')
0 files changed, 0 insertions, 0 deletions