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

advanced sleep mode for applications #5353

Closed
nvaccessAuto opened this issue Sep 11, 2015 · 7 comments
Closed

advanced sleep mode for applications #5353

nvaccessAuto opened this issue Sep 11, 2015 · 7 comments

Comments

@nvaccessAuto
Copy link

Reported by JamaicanUser on 2015-09-11 20:56
Hello.
This is just a suggestion. What if the sleep mode functionality could be more advanced to deal with self-voicing applications. Something like this could work.

  1. Pressing the toggle sleep mode once toggles the mode on or off (currently the case).
  2. Pressing the keystroke thrice quickly toggles the application's sleep mode permanently. This means that when NVDA is closed and restarted. To turn sleep mode on permanently while it is off for the application, press the keystroke once. This will however not affect the global setting. To toggle permanent sleep mode, press the keystroke thrice quickly again.
    Just a suggestion, but I hope it does not fall flat.
@nvaccessAuto
Copy link
Author

Comment 1 by briang1 (in reply to comment description) on 2015-09-12 08:19
Replying to JamaicanUser:

Hello.

This is just a suggestion. What if the sleep mode functionality could be more advanced to deal with self-voicing applications. Something like this could work.

  1. Pressing the toggle sleep mode once toggles the mode on or off (currently the case).
  2. Pressing the keystroke thrice quickly toggles the application's sleep mode permanently. This means that when NVDA is closed and restarted. To turn sleep mode on permanently while it is off for the application, press the keystroke once. This will however not affect the global setting. To toggle permanent sleep mode, press the keystroke thrice quickly again.

Just a suggestion, but I hope it does not fall flat.

Well, of course you can at the moment achieve this with a small bit of code put into the right place, but this, if it could be done, would be much tidier as you would not have to use the nvda/F1 to get the name of the executable and then paste it into the python code and copy it to the right folder manually.
One issue apart from how one might get the press three times to actually be reliable in this case is that some of the programs used do have more than one executable, and each would need to be treated as a separate app.
Dolphin Guide comes to mind here.

@bhavyashah
Copy link

To summarize:

  • The proposed feature request is to enable and disable a permanent application specific sleep mode when NVDA+Shift+Z (keystroke to toggle sleep mode on and off for the active application, at least in the laptop keyboard layout) is pressed twice.
  • This would be extremely useful in self-voicing applications, and would help us address certain other tickets as well which request automatic disabling of NVDA while in Kurzweil (a self-voicing OCR program).
  • However, a hurdle in the implementation of such a functionality, as noted by @Brian1Gaff's advanced sleep mode for applications #5353 (comment), is that certain software, e.g. Dolphin Guide, contain more than one executable which would result in all of them being treated as separate apps by NVDA.

@Brian1Gaff
Copy link

Brian1Gaff commented Aug 19, 2017 via email

@ehollig
Copy link
Collaborator

ehollig commented Aug 19, 2017

Could something like this be achieved with configuration profiles?

  1. Open the program that is self voicing.
  2. Press NVDA+N, C, Alt+N
  3. Give the configuration profile a name
  4. Press tab, and down arrow to current application.
  5. Press Enter
  6. Press NVDA+Shift+Z to turn sleep mode on.

Now, whenever the application is switched to, NVDA will be in sleep mode. Testing using notepad as a program and it worked every time. @Brian1Gaff, are there instances where this solution would not work? How often do programs have multiple executables where this would not work?

@ehollig
Copy link
Collaborator

ehollig commented Aug 19, 2017

Actually, when looking at #3721, this is not possible quite yet.

@lukaszgo1
Copy link
Contributor

Isn't this one a duplicate of #3721?

@Adriani90
Copy link
Collaborator

Yes this is a duplicate. Closing.
Thanks for picking this up.

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

7 participants