-
Notifications
You must be signed in to change notification settings - Fork 974
Maximized window has a White border around #6258
Comments
I think the issue involves the
|
Setting thickFrame to false does resolve the padding around the borders... but it introduces a new set of problems. Window is not responding to being double clicked as maximized anymore, like the above states, it removes animations... it doesn't feel right. Also (didn't investigate too much), it doesn't seem to properly fire the maximize/unmaximize events when this is set Will look into the actual window styles being passed in via NativeWindowViews |
Adding a ton more logging in here; here's what I've found so far. Some good clues I think 😄
|
Reproduced in a bare-bones app; I copied the pre-built binaries over the ones included with @jonathansampson's Muon Quick repo and was able to reproduce the issue. Only tweaks were:
|
OK I'm knee deep in this one (gotta be really close). I'll be updating this as I trace each of the steps (for my own sanity!):
|
Got it! Fix coming up... |
Fixed with brave/muon#134. Closing out issue |
Reopening after @jonathansampson found this happens when on 200% DPI. Also there are two DPI related issues (both happening at 125%). I'll need to dig deeper into the Electron code. Here are the two possibly related browser-laptop issues: My best guess at the moment is the root cause may be related to this commit: I believe I properly solved this issue but the commit above may have masked it with Chromium 53. When I upstreamed it with electron/electron#7416 it was reverted because the tests failed. |
I removed the commit references above and it didn't fix the issue... but the fact that it's still shows the borders means there's another bug (which may be the actual root cause for what I was trying to solve in the muon commit in the last post above). Got some debug statements in there, gonna hunt it down 😄 |
- don't process non-client calcsize/paint - do proper DPI calculations when DPI > 100% Fixes brave/browser-laptop#6258 Reverts 182fe6d Which I believe incorrectly fixed the problem with Chromium 53 (see discussion at electron/electron#7416 for more info) We need to test to confirm, but I believe this change will fix: brave/browser-laptop#4502 brave/browser-laptop#6462 brave/browser-laptop#6468 brave/browser-laptop#6481
Test plan: available on the 1st post. |
I added |
Did you search for similar issues before submitting this one?
Describe the issue you encountered:
Maximzed window has a White border around
Expected behavior:
Should not have thick border when browser window is maximized
Platform (Win7, 8, 10? macOS? Linux distro?):
Windows 10 x64
Brave Version:
0.13.0 Preview 4
Steps to reproduce:
Screenshot if needed:
Any related issues:
cc: @bsclifton
The text was updated successfully, but these errors were encountered: