You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you set the TitleBar back button visible through C# (not XAML) the first time, it allows you to drag the window by the back button and removes the back button animation.
Steps to reproduce the bug
Create a titlebar control in XAML with the back button IsBackButtonVisible false
In the .xaml.cs file, set the IsBackButtonVisible to true
Observe that you can drag the window by the back button and the animation is removed
Setting the back button in the titlebar control should retain the same behaviors as when setting it through XAML.
Screenshots
20250213-2248-11.1859949.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.7 Preview 1: 1.7.250208002-preview1
Windows version
Windows 11 (24H2): Build 26100
Additional context
If you set the back button invisible and set it visible it again, it works like normal as expected. The first time you make the back button visible is when it is in this bugged state.