Skip to content

Optimize Anchor Visibility Detection (Reduce Up to 2s Delay When Window Covered/Uncovered) #472

@gileli121

Description

@gileli121

Anchors are designed to appear only when a window is covered (not minimized).
When the window becomes visible again (partially or fully), the Anchor will be shown.

There is a minor issue where it can take up to 2 seconds to detect the change.
For example, if a window is just covered, it may take up to 2 seconds for the app to detect it and display the Anchor icon. Similarly, when the window becomes visible again (not fully covered), detection may also take up to 2 seconds.

The task is to optimize it so it will be detected in much less time.

It was done as part of working on #469
because in order to implement #469, need to improve the algorithm responsible for detecting the state (whether the window is covered or not in much faster way). This will provide the infrastructure needed for #469.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions