Skip to content

System still sleeps during say all #17649

@LeonarddeR

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.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions