Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore ABN_POSCHANGED message if work area didnt change #427

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dyrax
Copy link

@Dyrax Dyrax commented May 21, 2023

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
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