Replies: 3 comments 6 replies
-
@rkarman do you have any thoughts on this feature proposal? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Windows provides an option to use accent colour on the title bar. While it's up to the developer, the default title bar has the accent colour but customised title bar, even ones which are from the system don't as they have extended just to add an icon on the right. I would recommend removing the option entirely as it's not going to be consistent. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are multiple types of windows using a "default" titlebar, yet they all look and act differently:
UWP
win32 default / dialog box
win32 ToolWindow
I also assume Android apps will have yet another different titlebar.
My proposal is to create a new titlebar based on WinUI, and to use it for all window types in Windows 11 and for apps using WindowsAppSDK.
Windows 11 and WindowsAppSDK could share the same titlebar control, to ensure consistency.
It could perhaps be extended even to Linux GUI apps, if they don't draw their own titlebar. From what I know, the caption buttons are still drawn by each distro, so Windows could do the same thing.
The titlebar can still adapt depending on the window type, but this way it will always look consistent.
There were some attempts like this already:
Advantages:
This could also allow for new capabilities:
For the OS:
For apps:
Obviously, this depends on the type of app, and would sometimes be done with different APIs. For example, if an Android app sets a custom status bar color, you would instead change the titlebar color on Windows.
I think that WindowsAppSDK should always hide the natural titlebar and use the one it provides (even if the content isn't extended), in order to support all these capabilities. Windows 11 would use this new titlebar as the "default" for all apps, but the APIs can still be exclusive to WindowsAppSDK.
Beta Was this translation helpful? Give feedback.
All reactions