Skip to content

System still sleeps during say all #17649

Closed

Description

@LeonarddeR

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.

Activity

  1. added
    p4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
    triagedHas been triaged, issue is waiting for implementation.
    on Jan 27, 2025
  2. added this to the 2025.1 milestone on Feb 16, 2025
  3. added a commit that references this issue on Feb 17, 2025
    1065b05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature/say-allp4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions