-
Notifications
You must be signed in to change notification settings - Fork 973
Window corners have border radius #4216
Comments
border gap is only visible against a light background |
Unfortunately, not completely fixed with #4342 High DPI versions would always show white in the corners: Potential solution offered by @bbondy would be to fix this in electron. We should be able to hide the corner regions using win32 call SetLayeredWindowAttributes |
Updated notes; this was also noticed today when I upstreamed recent DPI fixes: I believe the problem is the approach I took for cancelling out non-client area. Setting an inset of 0,0 might be the approach we have to take, since the styles being generated for the window are unusual. |
I believe I have the fix for this @kevinsawicki noticed this issue when I upstreamed the DPI fix to electron. I went back to the previous way I was handling non-client area and this fixed the issue. Fixed in my electron PR with electron/electron@9e0547b; I'll submit a PR for muon tomorrow after testing with browser-laptop-bootstrap |
Was noticed when upstreaming border fixes to electron with electron/electron#8404 After @kevinsawicki saw same issue, I fixed with electron/electron@9e0547b (same as this fix) Tested on Windows 10 anniversary edition at 200% DPI and confirmed issue is fixed with this Fixes brave/browser-laptop#4216 Auditors: @bbondy, @darkdh, @bridiver
We'll want to test this on Windows 7. The borders should ideally NOT be rounded there... if they are, we can open a new issue. |
Works fine on Windows 10 on preview 9 |
Unfortunately, this is still an issue on Windows 7 (captured with brave/muon#145) To be clear, the behavior hasn't changed for Windows 7. Windows 10 was experiencing an issue which caused it to have the same problem as Windows 7 and instead of making a new ticket, we updated this one. The issue seen in Windows 10 was introduced with 0.13.0 and was closed with brave/muon#144 edit: |
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
Borders should be consistent, regardless of Windows version. Windows 7 typically shows rounded borders and Windows 8/10 show square edges.
Expected behavior:
Border looks correct
Windows 7
0.12.2 RC2
The text was updated successfully, but these errors were encountered: