System still sleeps during say all #17649
Labels
feature/say-all
p4
https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
triaged
Has been triaged, issue is waiting for implementation.
Steps to reproduce:
In Notepad++, initiate a say all when on battery
Actual behavior:
Observe that a system can still go to sleep or the screen can still lock
Expected behavior:
The system should not sleep or lock during say all.
Additional context
In #11118, the
winKernel.ES_DISPLAY_REQUIRED
flag was removed fromSetThreadExecutionState
Proposed fix
Re-enable winKernel.ES_DISPLAY_REQUIRED, but make it opt out using a config flag.
The text was updated successfully, but these errors were encountered: