Size of win32 title bars are different to UWP apps
Proposal: Size of win32 title bars are different to UWP apps
Summary
see https://github.com/microsoft/PowerToys/issues/6409
Rationale
- consistency
Scope
| Capability | Priority |
|---|---|
| This proposal will allow developers to accomplish W | Must |
| This proposal will allow end users to accomplish X | Should |
| This proposal will allow developers to accomplish Y | Could |
| This proposal will allow end users to accomplish Z | Won't |
Important Notes
Open Questions
#157
and please don't say "just use winui, msix and uwp". it's a meme at this point. the new Microsoft Emulator isn't a UWP or WinUI app. The Xbox app just stopped using MSIX. Skype ditched UWP and WinUI. Teams and Edge are just Chromium. The list goes on and on.
When a Window is maximized, the non-client area will hang over the outside of the screen. Class non-ApplicationFrameHost windows have their non-client area hang over, which makes the title bar smaller. ApplicationFrameHost windows paint the title bar by itself. When maximized, it accounts for the offset hang and shifts the painting area so it can paint a full sized title bar.
Just make ApplicationFrameHost windows not account for the overhang when painting the title bar when maximized and the two should look the same.