The control buttons and shadow of a window with custom title bar is so weird
See original GitHub issueDescribe the bug
This is how a window with default system title bar looks like:
This is how a window with ExtendsContentIntoTitleBar=true
looks like:
You can observe that the size (and the shape) of control buttons is not consistent:
Also, the depth of shadow of the window is not identical:
Steps to reproduce the bug
- Create a new blank WinUI 3 app with WASDK 1.1-preview3
- Set
ExtendsContentIntoTitleBar
totrue
Expected behavior
The control buttons as well as shadow of the window should be identical both with system title bar and custom title bar.
NuGet package version
WinUI 3 - Windows App SDK 1.1 Preview 3: 1.1.0-preview3
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
Windows Insider Build (22621)
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Have a shadow without title bars as a window decoration?
Click add, detect window properties and then click on the window/application you want, and then enable "hide window title bar".
Read more >Windows 10 strange behavior of title bar
1 Answer 1 · Press Windows Key · Once you are in Registry Editor go to the key: HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics · Click on ......
Read more >Tauri & ReactJS Part 12 - Custom Title Bar on Windows
In this video we'll create custom title bar for Windows while accounting for the scrollbar.
Read more >Accent color is not used in title bars, start or task bar.
I've turned on "Manual" for "Accent Color" and selected "Dark Blue". Not a single window has a dark blue title bar, nor does....
Read more >Custom Titlebar with frame in PyQt5 - python
I've tried modifying the window flags: With not window flags, the window is both re-sizable and movable. But no custom buttons. Using self....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the ping here @riverar, I was not aware of this issue being logged.
@marb2000 / @MikeHillberg can one of you move this issue over to WinAppSDK so we can assign the proper owners and track this with the windowing team?
Thank you very much!! I’ll try that later today 😃