Skip to content

Ignore ABN_POSCHANGED message if work area didnt change#427

Open
Dyrax wants to merge 1 commit into
ArcadeRenegade:masterfrom
Dyrax:master
Open

Ignore ABN_POSCHANGED message if work area didnt change#427
Dyrax wants to merge 1 commit into
ArcadeRenegade:masterfrom
Dyrax:master

Conversation

@Dyrax

@Dyrax Dyrax commented May 21, 2023

Copy link
Copy Markdown

I had a problem where the sidebar would get into an infinite loop of reloading/flickering when using the reserve space setting because every reload would trigger a new ABN_POSCHANGED message which would trigger another reload...

After every reload/repositioning I save the current work area. We can ignore all ABN_POSCHANGED messages unless the work area changes.

This PR also prevents unnecessary reloads when clicking on the edge of an unlocked taskbar.

The async delays in SetAppBar and BindAppBar (Windows.cs) might now be obsolete but I wasn't 100% sure. Removing them worked on my machine.

@ArcadeRenegade

Copy link
Copy Markdown
Owner

Ty I'll try to test it on my PC and merge soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants