Skip to content

[FEATURE REQUEST] - Improve autoPause with actual visibility #51

Description

@fmigneault

Feature Description

The autoPause utility employs a check of the [active] window to detect if the wallpaper should be paused. When using split screens (eg: having 2 apps sharing the entire screen), whichever one is selected/focused gets the "active" status but still won't cover the entire screen. Therefore, autoPause never does its job.

Similarly, if a window is in fullscreen and activated, and then another app (eg: taskmanager) is opened on top in windowed mode, we can see autoPause triggers the wallpaper to resume playing, although it is still invisible from the other fullscreen window.

Instead of the active window, a solution using https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-iswindowvisible or similar should be considered, by checking the status of the wallpaper window itself.

Motivation

Ensure the autoPause behaviour is consistently applied with the actual visibility of the wallpaper across various screen setups.

Alternatives

n/a

Confirmation

  • I performed a search of the feature requests to avoid suggesting a duplicate feature
  • I understand that not filling out this template correctly may lead to the request being closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions