WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Size of win32 title bars are different to UWP apps

Open Poopooracoocoo opened this issue 5 years ago • 3 comments

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

Poopooracoocoo avatar Sep 07 '20 07:09 Poopooracoocoo

#157

Poopooracoocoo avatar Sep 07 '20 08:09 Poopooracoocoo

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.

Poopooracoocoo avatar Sep 12 '20 07:09 Poopooracoocoo

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.

AzAgarampur avatar Sep 24 '20 18:09 AzAgarampur