Open Neurrone opened 4 years ago
cc: @codeofdusk
Forgot to add this happens both with and without UIA in console enabled.
Yes, since NVDA doesn't know to check for caret movement in these cases.
We could possibly bind the Emacs-style (c-a/c-e, m-f/m-b, etc) keys to caret movement scripts in terminals. This could lead to unexpected results in terminal programs where those commands don't move the caret though. It also wouldn't detect any custom caret movement commands configured by users.
Auto select detection (or a similar approach) could also handle this.
Updated issue title to reflect that this also happens when using ssh. This isn't a bash specific issue.
@codeofdusk how reliable would the auto selection detection approach you mentioned be? I like being able to configure that as well.
Not sure if feasible, just an idea. Cc @leonardder.
There's also the vi-style key bindings, I'm not sure how difficult it would be to account for that as well, since those are layered keystrokes. I don't think that is encountered as often though, since the emacs style ones are the default.
@codeofdusk auto select detection is already available in UIA consoles. Even then, feedback for caret movement is still based on scripts. What would you suggest to use autoselect detection for in this case?
I'm not familiar with the UIA specification, but are there events that the terminal can implement which could inform NVDA of word / cursor movement? The new Windows Terminal is also still in beta so maybe this is an opportunity to ask for such events to be implemented if possible.
Yes, these events do exist (this is how auto select detection works). I was thinking we could do something similar to report caret movement but that would require bigger code changes.
@Neurrone, @codeofdusk how is this now with NVDA 2024.3 Beta? Is there any improvement noticeable? Are non UIA terminals actually still commonly used? In NVDA the default value seems to be UIA for consoles in advanced settings.
There has been no improvement at all, since there aren't any changes in NVDA that would have affected this since I first reported the issue.
Steps to reproduce:
apt-get python
Actual behavior:
NVDA doesn't say anything, making this navigation difficult to use and much less useful
Expected behavior:
NVDA provides spoken feedback.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
Version: alpha-20168,1cf36fbe
Windows version:
Windows 10 1909 (10.0.18363.778])
Name and version of other software in use when reproducing the issue:
WSL 1, Ubuntu
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.
No
If addons are disabled, is your problem still occuring?
N/a
Did you try to run the COM registry fixing tool in NVDA menu / tools?
No