Closed UtterDonkey closed 4 months ago
@UtterDonkey can this closed as subset of #5999?
There is no need for more info. We just want the ability to use Windows 11's snap feature that shows when you hover the maximize button on a custom titlebar.
@UtterDonkey can this closed as subset of #5999?
Yes, probably
Issue Type
Before opening an issue, please search and see if it has already been raised.
[ ] Bug Report
[x] Feature Request
[ ] Successfully reproduced against the latest version of NW.js?
Current/Missing Behaviour
When making a custom titlebar on a frameless windows, it isn't possible to hover over the maximise/restore button to display the snap layout menu in Windows 11. I believe this is already possible in electron as it is supported in VS Code.
This feature may not be needed if this is implemented: https://github.com/nwjs/nw.js/issues/5999
Expected/Proposed Behaviour
Some way of specifying an element as the maximise/restore button (eg. a CSS property like
-webkit-app-reigon
) so that when it is hovered, the native snap layout menu can be displayed on Windows 11.Additional Info