C++/WinRT - unpackaged - Customized title bar controls not clickable & SetDragRectangle displays default titlebar #8051
Labels
area-TitleBar
Issues related to custom window title bars.
bug
Something isn't working
no-issue-activity
team-Reach
Issue for the Reach team
Describe the bug
Controls of customized titlebar are not clickable and only by setting "SetDragRectangle" the default titlebar appears and covers the customized titlebar.
As described in the following post, the issue should be fixed in Windows App SDK 1.2 Preview 1 (at least in C#, in C++ it doesn't work): microsoft/WindowsAppSDK#2574
I had 1.1.5 installed before.
Steps to reproduce the bug
Create an unpackaged WinUI 3 app.
Add the customized titlebar with controls and set "SetDragRectangle".
Kindly already scrutinized by @DarranRowe & @castorix & @bpulliam. Please see the results: microsoft/WindowsAppSDK#3243
See my example (code in MainWindow.xaml.cpp):
https://github.com/yki5000/WinUI3_Unpackaged_CPP
See 2 example videos which show you the errors:
yki5000/WinUI3_Unpackaged_CPP#1
Expected behavior
Added titlebar controls should be usable by user input and SetDragRectangle shouldn't let the default titlebar appear.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2.2: 1.2.221209.1
Windows version
Windows 11 (22H2): Build 22621
Additional context
It's an unpackaged C++ app.
Also tested in Windows 10 on an other laptop.
The text was updated successfully, but these errors were encountered: