Open nishimotz opened 4 years ago
@nishimotz Does this causes any noticeable degradation in behavior or just the error sound?
While in the edit control, characters should be announced when the left/right arrow keys are pressed. When this error occurs, the announcements of multi-byte characters can not be heard, so it is difficult to type or confirm such characters.
If error sound is suppressed in release build, can it be used normally? I think the caret move announcements are missing when this error occurs.
@nishimotz, yes it sounds like this will cause problems in the release. Depending on the complexity of a fix, it might be too late to do something about this, it may have to wait for the 2020.2 release.
@nishimotz Would you be able to bisect this perhaps?
I would start by seeing how the behavior changes when checking if objLocation
is None and raising a RuntimeError
in displayModel.EditableTextDisplayModelTextInfo._getCaretOffset
It would be good to understand what the exact type is for self.obj
and why it's call to def _get_location fails
I am checking again, but it doesn't seem to be a regression. Now I can see the similar issue with 2019.2.1.
Steps to reproduce:
Expected behavior:
While in the edit control, characters should be announced when the left/right arrow keys are pressed. Also, no error sound.
Actual behavior:
When this error occurs, the announcements of multi-byte characters can not be heard, so it is difficult to type or confirm such characters.
Error in log:
System configuration
NVDA installed/portable/running from source:
NVDA version:
Windows version:
Name and version of other software in use when reproducing the issue:
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.
If addons are disabled, is your problem still occuring?
Yes
Did you try to run the COM registry fixing tool in NVDA menu / tools?
No