-
-
Notifications
You must be signed in to change notification settings - Fork 756
Description
Steps to reproduce:
ON certain webpages use NVDA's find functionality with ctrl+nvda+f to search for text. I think the pages with the bad behaviour are those containing special characters like Emoji's. If there's just a couple of special characters then you're usually close to the text you searched for but for particularly bad behaviour see https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md and try to search for geometric
Actual behavior:
The cursor is several characters before the text you searched for, the distance seems to be proportional to the number of special characters in the way.
Expected behavior:
The cursor is on the start of the text.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
Verified with both installed and running from source.
NVDA version:
2023.3.4 but has been present in older versions for a long time.
Windows version:
Windows 11
Name and version of other software in use when reproducing the issue:
Can reproduce in either Chrome or Edge.
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Yes, same behaviour in older versions.
If NVDA add-ons are disabled, is your problem still occurring?
N/A
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
N/A
Comment
I've been aware of this behaviour for some time but only just realized that the trigger seems to be the presence of special characters. I haven't looked at the code but wonder if there's some sort of indexing issue because these characters will be taking up multiple bytes.