nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
Other
2.02k stars 624 forks source link

MSYS2: unable to read the character under cursor #11660

Closed aaclause closed 2 days ago

aaclause commented 3 years ago

Steps to reproduce:

  1. Open MSYS2.
  2. Open a text file in an editor (like nano, emacs, vim).
  3. Navigate with arrow keys.

Actual behavior:

Whatever the character under cursor, "space" is spoken and '⠀' is displayed in braille.

Expected behavior:

The appropriate character under cursor should be spoken/displayed.

System configuration

NVDA installed/portable/running from source:

Any

NVDA version:

alpha-20935,c4de9f99

Windows version:

2004

Name and version of other software in use when reproducing the issue:

MSYS2 + nano/emacs/vim

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?

Yes

Did you try to run the COM registry fixing tool in NVDA menu / tools?

No

lukaszgo1 commented 3 years ago

What character is announced when reading current character at the review cursor position in this case? Could you try with NVDA 2019.2.1?

aaclause commented 3 years ago

Also, I encounter other strange behaviors:

Here a small demo.

Here the content of my test file:

a b c d
e f g h
i j k l

What character is announced when reading current character at the review cursor position in this case?

"Space".

Could you try with NVDA 2019.2.1?

Same behavior.

JulienCochuyt commented 3 years ago

@Andre9642, Did this behavior appear as of an update of MSYS2 or NVDA? What version of MSYS2 are you using? Unlike in #11842, you do not report here issues at the command prompt. What terminal and what shell are you using with MSYS2?

cc @codeofdusk cc @jeanbrazcosta

aaclause commented 3 years ago

Unlike in #11842, you do not report here issues at the command prompt. What terminal and what shell are you using with MSYS2?

Interesting. I've just retested it and the issue occurs at the command prompt as well. It seems to me that was not the case when I reported the issue...

What version of MSYS2 are you using?

“MSYS2 is basically just a collection of packages installed on your computer, managed by a package manager, which is itself a package. There is no overall version number.” — source

Currently I'm running on mintty 3.4.3 and bash 4.4.023-2.

I'll make more tests later.

jeanbrazcosta commented 3 years ago

Yes, all the tests I did when reporting the bug was with the MSYS2 git bach terminal

Em sáb., 12 de dez. de 2020 às 06:58, Julien Cochuyt < notifications@github.com> escreveu:

@Andre9642 https://github.com/Andre9642, Did this behavior appear as of an update of MSYS2 or NVDA? What version of MSYS2 are you using? Unlike in #11842 https://github.com/nvaccess/nvda/issues/11842, you do not report here issues at the command prompt. What terminal and what shell are you using with MSYS2?

cc @codeofdusk https://github.com/codeofdusk cc @jeanbrazcosta https://github.com/jeanbrazcosta

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nvaccess/nvda/issues/11660#issuecomment-743732646, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCETZ2HTH4YFEYC2JSTAKDSUM5FJANCNFSM4RWTLP6Q .

JulienCochuyt commented 3 years ago

Tested as far back as NVDA 2016.3: Same behavior.

@Andre9642, could you please try to downgrade to an earlier version of MinTTY in order to narrow-down when the issue appeared?

It might also be interesting to know if Cygwin users experience the same behavior with MinTTY or one of the other terminals it provides

Adriani90 commented 3 days ago

@jeanbrazcosta, @aaclause are you still having this issue with NvDA 2024.3 beta in last MSYS?

aaclause commented 2 days ago

It appears that the initial issue has been resolved for me. However, I am now observing some slowness when scrolling through the file using the arrow keys compared to WSL (tested with nano on a file of ~50 lines). But it is another issue...

jeanbrazcosta commented 1 day ago

@Adriani90 It was resolved for me too