Skip to content

Ease of Access: deprecate canConfigTerminateOnDesktopSwitch as it is always True #15662

@josephsl

Description

@josephsl

Hi,

Part of #15167 and #15647:

Is your feature request related to a problem? Please describe.

As of NVDA 2024.1 alpha, Python 3.11 is in use, meaning Windows 8.1 or later is required. At the moment easeOfAccess.canConfigTerminateOnDesktopSwitch requires Windows 8, and with NVDA 2024.1, that flag is alwasy set to True.

Describe the solution you'd like

Deprecate easeOfAccess.canConfigTerminateOnDesktopSwitch, always returing "True". This allows code relying on this flag - namely config module - to be edited based on deprecation warning, along with giving add-ons community time to adjust their code.

Describe alternatives you've considered

Either leave code as is or remove the flag altogether.

Additional context

easeOfAccess.canConfigTerminateOnDesktopSwitch uses winVersion.WIN8 constant (to be deprecated once #15647 comes to life).

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions