You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With braille enabled, open a windows console with UIA enabled
type hello
Press left arrow multiple times.
Actual behavior:
Braille does not show the character the caret is at. When hello was typed, the whole word is shown. However, when pressing left arrow N times, the result after the prompt is as follows:
hell
helo
helo
hllo
ello
Expected behavior:
The current character is not stripped from braille output
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-18290
Windows version:
Windows 10 1903 build 18362.239
Name and version of other software in use when reproducing the issue:
Command prompt (cmd)
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
The text was updated successfully, but these errors were encountered:
Closes#10035
Related to #9614
Identical to #10043
Works around a UIA bug on Windows 10 1803 and later that means we can
not trust the "end" endpoint of a collapsed (empty) text range for comparisons.
The console incorrectly reports the "end" as being past the "start" endpoint.
This stops braille being able to properly track the system caret in Windows Console.
Instead use getText(1) on the textRange to attempt to fetch 1 character.
getText returns an empty string for a collapsed range. By definition, the "start" and
"end" endpoints for a collapsed range are equivalent, thus read from the "start"
endpoint of a collapsed range instead of the "end" endpoint.
cc @codeofdusk
Steps to reproduce:
Actual behavior:
Braille does not show the character the caret is at. When hello was typed, the whole word is shown. However, when pressing left arrow N times, the result after the prompt is as follows:
Expected behavior:
The current character is not stripped from braille output
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-18290
Windows version:
Windows 10 1903 build 18362.239
Name and version of other software in use when reproducing the issue:
Command prompt (cmd)
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
The text was updated successfully, but these errors were encountered: