bitsdojo_window icon indicating copy to clipboard operation
bitsdojo_window copied to clipboard

[Windows] Windows 11 tiling menu

Open Pesthuf opened this issue 3 years ago • 1 comments
trafficstars

Starting with Windows 11, hovering the native maximize button creates a popup window that lets the user tile the window. Since this library is providing its own implementation of the minimize, maximize and close buttons as Flutter widgets, this menu doesn't show up when hovering the button.

Another way to open this menu is to press Win+Z. This works even on customized windows and shows the menu. However, the placement is different - Windows normally tries to place the dialog centered within the maximize button, but it looks like since it can't find that button, it places it inside the window instead:

Expected grafik

Actual: grafik

Microsoft provides some information on how they expect people who implement custom maximize buttons to get this effect: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/apply-snap-layout-menu

Pesthuf avatar Jun 07 '22 18:06 Pesthuf

Thanks for the reference. Added to my list.

bitsdojo avatar Jun 07 '22 18:06 bitsdojo