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

Windows 10, NVDA closing when leaving the command prompt by pressing alt+f4 #5509

Closed
MichelSuch opened this issue Nov 18, 2015 · 5 comments
Closed

Comments

@MichelSuch
Copy link
Contributor

Under Windows 10, you can close a command prompt by pressing alt+f4 like any other windows.
Unfortunately, this also closes NVDA.

@LeonarddeR
Copy link
Collaborator

I can confirm this issue. Some additional observations

  • NVDA doesn't shut down when closing cmd with exit
  • Problem occurs with CMD both with and without administrative privileges

@dkager
Copy link
Collaborator

dkager commented Nov 18, 2015

This has been brought up a few times before, initially in #1682.

@jcsteh
Copy link
Contributor

jcsteh commented Nov 18, 2015

#5343 also brought this up and I closed it as a duplicate. However, while we probably can't fix all cases of #1682 (e.g. clicking the close button), it's more likely that someone might press alt+f4 and we can at least intercept that key.

One thing to investigate is whether we can hook the function Windows calls to force our process to exit. If we can do that, we can fix #1682 completely. Otherwise, we'll just intercept alt+f4 for Windows 10 as noted above.

@jcsteh
Copy link
Contributor

jcsteh commented Nov 27, 2015

@michaelDCurran did this work in #5343, so I'll reopen that and close this as a duplicate.

@jcsteh jcsteh closed this as completed Nov 27, 2015
@MichelSuch
Copy link
Contributor Author

Hi,

Yes, it works fine for me.

                 Michel SUCH

michel.such@free.fr
Skype : michel.such
Twitter : @SuchMichel

Le 27/11/2015 01:00, James Teh a écrit :

@michaelDCurran https://github.com/michaelDCurran did this work in
#5343 #5343, so I'll reopen
that and close this as a duplicate.


Reply to this email directly or view it on GitHub
#5509 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants