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

C++/WinRT - unpackaged - Customized title bar controls not clickable & SetDragRectangle displays default titlebar #8051

Closed
yki5000 opened this issue Dec 29, 2022 · 2 comments
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

Comments

@yki5000
Copy link

yki5000 commented Dec 29, 2022

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.

@yki5000 yki5000 added the bug Something isn't working label Dec 29, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Dec 29, 2022
@gabbybilka gabbybilka added team-Reach Issue for the Reach team area-TitleBar Issues related to custom window title bars. and removed needs-triage Issue needs to be triaged by the area owners labels Jan 6, 2023
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
@yki5000
Copy link
Author

yki5000 commented Aug 16, 2023

Closed? Stupid bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants