Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVDA doesn't announce typed characters in putty #1348

Closed
nvaccessAuto opened this issue Feb 2, 2011 · 17 comments · Fixed by #10118
Closed

NVDA doesn't announce typed characters in putty #1348

nvaccessAuto opened this issue Feb 2, 2011 · 17 comments · Fixed by #10118
Labels
Milestone

Comments

@nvaccessAuto
Copy link

@nvaccessAuto nvaccessAuto commented Feb 2, 2011

Reported by aleksey_s on 2011-02-02 17:17
It neither reads typed characters nor announces a deleted character when pressing backspace in putty's terminal window.

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented Feb 2, 2011

Comment 1 by jteh on 2011-02-02 20:56
Typed characters is an issue with PuTTY. It doesn't seem to fire WM_CHAR messages, probably because it doesn't call !TranslateMessage. I don't want to change our entire typed character mechanism just because of PuTTY and I don't really have any better ideas on how to handle this. Ideas are welcome.

Backspace is probably just because the server took too long to move the caret. On a faster link, this should be faster.

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented May 2, 2014

Comment 2 by mohammed on 2014-05-02 09:04
Hi.

are there similar applications out there that do not have such a problem? what do blind server admins generally use?

btw, there must be a mechanism to make this work, because other screen readers echo typed characters fine. granted, you can't review text in such windows.

@nvaccessAuto
Copy link
Author

@nvaccessAuto nvaccessAuto commented Oct 23, 2014

Comment 3 by msedmak (in reply to comment 2) on 2014-10-23 19:18
I have used terraterm (free) and have heard several others who use cygwin ssh (free) or SecureCRT (paid).
Replying to mohammed:

Hi.

are there similar applications out there that do not have such a problem? what do blind server admins generally use?

btw, there must be a mechanism to make this work, because other screen readers echo typed characters fine. granted, you can't review text in such windows.

@leonardder
Copy link
Collaborator

@leonardder leonardder commented Jul 18, 2017

Comfirmed. Since this is quite an old issue, giving this P4. @jcsteh: Feel free to set another priority, since you are the initial author of this.

@leonardder
Copy link
Collaborator

@leonardder leonardder commented Mar 16, 2018

I noticed that this is also a problem in power shell. Given Power Shell is getting more and more a replacement for cmd, I wonder whether this priority should be raised. @michaeldcurran/@feerrenrut: thoughts about this?

@feerrenrut
Copy link
Member

@feerrenrut feerrenrut commented Apr 9, 2018

@leonardder Possibly, though I don't think I would make it a P2.

@leonardder
Copy link
Collaborator

@leonardder leonardder commented Apr 9, 2018

Are you ok with a p3?

@feerrenrut
Copy link
Member

@feerrenrut feerrenrut commented Apr 9, 2018

Yep, I'll apply that change now.

@feerrenrut feerrenrut added p3 and removed p4 labels Apr 9, 2018
@xingkong013
Copy link
Contributor

@xingkong013 xingkong013 commented Jan 29, 2019

NVDA doesn't announce typed characters in putty Is this problem solved?

@Adriani90
Copy link
Collaborator

@Adriani90 Adriani90 commented Jan 29, 2019

@aleksey_s, @mohammed, could you please test if this is still an issue? Thanks!

@leonardder
Copy link
Collaborator

@leonardder leonardder commented Jan 29, 2019

@JulienCochuyt
Copy link
Collaborator

@JulienCochuyt JulienCochuyt commented Jul 4, 2019

MinTTY, a close relative console, also suffers from this issue: Typed characters are not echoed.
The mintty app module derives from the putty app module.
MinTTY is the default console of the Git Bash environment as shipped with Git for Windows.

@Adriani90
Copy link
Collaborator

@Adriani90 Adriani90 commented Aug 1, 2019

Is this solved also for older Versions of Windows where UIA is not used?

@JulienCochuyt
Copy link
Collaborator

@JulienCochuyt JulienCochuyt commented Aug 12, 2019

Is this solved also for older Versions of Windows where UIA is not used?

I don't know, but IMHO, this is not fully solved either for newer versions of Windows.
Demo: Open a new Git Bash Mintty terminal, run any command that produces output such as ls, wait for the output announcement to end or hit control to mute it, and then hit the backspace key a few times quickly.
Result: NVDA speaks text placed before the command prompt, depending on how many times backspace was pressed.
Expected: NVDA should not announce anything, as no character was deleted.

@Adriani90
Copy link
Collaborator

@Adriani90 Adriani90 commented Aug 12, 2019

Ok Julien thank you for this report. I am reopening this issue and the discussion.
cc: @codeofdusk

@Adriani90 Adriani90 reopened this Aug 12, 2019
codeofdusk added a commit to codeofdusk/nvda that referenced this issue Aug 13, 2019
@codeofdusk
Copy link
Contributor

@codeofdusk codeofdusk commented Aug 13, 2019

Is this solved also for older Versions of Windows where UIA is not used?

Yes, this is solved from Windows 10 1607 onwards (UIA used on 1803 and later).

@codeofdusk
Copy link
Contributor

@codeofdusk codeofdusk commented Aug 13, 2019

I don't know, but IMHO, this is not fully solved either for newer versions of Windows.
Demo: Open a new Git Bash Mintty terminal, run any command that produces output such as ls, wait for the output announcement to end or hit control to mute it, and then hit the backspace key a few times quickly.
Result: NVDA speaks text placed before the command prompt, depending on how many times backspace was pressed.
Expected: NVDA should not announce anything, as no character was deleted.

I think I know what's up (related to #9933). I've put a potential fix on the t1348 branch of my repo (@feerrenrut could you please create and link a try build here?)

codeofdusk added a commit to codeofdusk/nvda that referenced this issue Aug 19, 2019
feerrenrut pushed a commit that referenced this issue Aug 22, 2019
In Mintty, the last character of the prompt was being read when quickly deleting text, just as in Windows Console (see this comment and the "summary of the issue" section in #9986).

This change disables caret events for all Terminal objects by overriding NVDAObjects.behaviors.Terminal._get_caretMovementDetectionUsesEvents, instead of only Windows Console like in #9986.

Closes #1348.
Related to #9933, #9986.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants