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

System still sleeps during say all #17649

Open
LeonarddeR opened this issue Jan 24, 2025 · 0 comments · May be fixed by #17651
Open

System still sleeps during say all #17649

LeonarddeR opened this issue Jan 24, 2025 · 0 comments · May be fixed by #17651

Comments

@LeonarddeR
Copy link
Collaborator

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 from SetThreadExecutionState

Proposed fix

Re-enable winKernel.ES_DISPLAY_REQUIRED, but make it opt out using a config flag.

@LeonarddeR LeonarddeR linked a pull request Jan 24, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant