cairoshell / ManagedShell

A library for creating Windows shell replacements using .NET.
https://www.nuget.org/packages/ManagedShell/
Apache License 2.0
301 stars 25 forks source link

Fix system translating AppBar position by its size #105

Closed dremin closed 5 months ago

dremin commented 5 months ago

The hack removed in #104 uncovered an issue where in some circumstances, the system will reposition our AppBar window by its height exactly.

This fixes the issue by adjusting the SetWindowPos message sent by the system only in these cases when we did not initiate the position move.

dremin commented 5 months ago

This doesn't fully address the issue. For now it seems best to bring back the hack.