Repository navigation
fix: window with customButtonsOnHover should have rounded corner - #26901
Conversation
|
Failure is:
And is known. |
|
Release Notes Persisted
|
|
I was unable to backport this PR to "10-x-y" cleanly; |
|
I was unable to backport this PR to "11-x-y" cleanly; |
|
I have automatically backported this PR to "12-x-y", please check out #26960 |
|
Is it still possible to get a frameless window without rounded corners on macOS after this PR? |
No, but we can add a new API to turn off rounded corner if there is request, we only need to apply the |
|
I think we should hold on backporting it to 10/11, there are some users relying on this option to create a frameless window without rounded corner. |
Description of Change
Close #10424.
The
customButtonsOnHoveroption relied on theNSWindowStyleMaskFullSizeContentViewstyle to hide window title and buttons, which is actually a weird code path and unnecessary.This PR makes it use the normal window styles like the other
titleBarStyleoptions, which fixes the problem that the window has no rounded corner.Checklist
npm testpassesRelease Notes
Notes: Fix window with
customButtonsOnHoveroption not having rounded corner on macOS.