You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @adi518. I'd like to help this issue get prioritized. Can you fill out a few more details about what's going wrong and how exactly to reproduce it?
@TheSBros the change in #8404 is needed for > 100% DPI because otherwise the coordinates aren't scaled properly. If reverted, you'll see a white or gray borders (if not at 125%, for sure at 200% DPI)
I believe the root cause for the issue reported here is captured with #4045 (specifically, a similar issue was reported with #8546 which got merged w/ 4045).
Can anyone try the demo program on Windows 7? My guess is that the size is calculated correctly there
@bsclifton@adi518@TheSBros So is there a fix for the oversized window on maximized state? I've been playing around with it for a while and can't find a solution for it.
now its overflowing again in full screen if you are using browserviews: it works correctly if not fullscreen:
Can confirm the exact issue 100%.
Any fixes for BrowserView?
Otherwise will have to try to manually adjust
EDIT: Fixed it by adding event listeners to BrowserWindow for maximize / unmaximize and comparing width height of screen of window to size of browserWindow and then subtracting difference from BrowserView
Activity
groundwater commentedon Feb 22, 2017
Hey @adi518. I'd like to help this issue get prioritized. Can you fill out a few more details about what's going wrong and how exactly to reproduce it?
adi-works commentedon Feb 22, 2017
All I did is set
frametofalseand hit maximize to test it. It's easily reproduced in my repo, which also has the devtools enabled.groundwater commentedon Feb 22, 2017
Hi @adi518. This is a large repo. Can you provide a minimal reproduction case? Thank you.
adi-works commentedon Feb 25, 2017
@groundwater, I made a minimal repro and updated OP.
[-]Frameless maximize issue[/-][+]Frameless maximize overflow[/+]radencode commentedon Feb 25, 2017
@adi518 @groundwater I am running into the same issue and I still am not able to find a solution for it.
odensc commentedon Feb 27, 2017
This seems to be caused by PR #8404. Reverting that PR (170f2f6) fixes the page getting cut off.
cc/ @bsclifton
radencode commentedon Feb 27, 2017
@TheSBros does that work for you?
bsclifton commentedon Feb 27, 2017
@TheSBros the change in #8404 is needed for > 100% DPI because otherwise the coordinates aren't scaled properly. If reverted, you'll see a white or gray borders (if not at 125%, for sure at 200% DPI)
I believe the root cause for the issue reported here is captured with #4045 (specifically, a similar issue was reported with #8546 which got merged w/ 4045).
Can anyone try the demo program on Windows 7? My guess is that the size is calculated correctly there
adi-works commentedon Feb 27, 2017
Actually, a friend who happens to run Win7 tried the test the other day and experienced the same issue.
odensc commentedon Feb 27, 2017
@bsclifton I understand what the fix is needed for - but arguably 100% DPI is the most common setup. Is this just blocked on #4045 then?
I can spin up a W7 VM later, but @adi518 says it still exists on 7.
bsclifton commentedon Feb 27, 2017
@TheSBros I don't see any comment by @adi518 about problem existing on Win7. However, I tried it on my VM and confirmed the issue exists

adi-works commentedon Feb 27, 2017
Yes, it definitely happens with Win7.
radencode commentedon Feb 27, 2017
@bsclifton @adi518 @TheSBros So is there a fix for the oversized window on maximized state? I've been playing around with it for a while and can't find a solution for it.
25 remaining items
odensc commentedon Mar 4, 2017
@adi518 Have you tried my latest commit in #8808? I can't reproduce this issue with my PR. (I can upload a build if you can't compile?)
adi-works commentedon Mar 4, 2017
I think I can build it.
Edit: Ok, forgot I don't have VSCE on this machine, so that will take some time to setup. Upload a build if you may, thanks.
odensc commentedon Mar 4, 2017
@adi518 Here you go.
adi-works commentedon Mar 4, 2017
Sweet, the border is gone! taskbar at top/bottom now appears to work correctly.
adi-works commentedon Mar 4, 2017
Oh wait a minute. My app is dark-grey, I now noticed it actually has round corners at the top. Bottom is still rectangular though.
odensc commentedon Mar 4, 2017
@adi518 Yes the rounded edges are a side effect. I am currently trying to figure out how to get rid of them.
adi-works commentedon Mar 4, 2017
Haha. Yea, now I recall reading a comment about it in the PR thread.
Fix frameless window overflow on Windows
Fix frameless window overflow on Windows
Venipa commentedon Apr 27, 2021
now its overflowing again in full screen if you are using browserviews:


it works correctly if not fullscreen:
Awendel commentedon Oct 17, 2021
Can confirm the exact issue 100%.
Any fixes for BrowserView?
Otherwise will have to try to manually adjust
EDIT: Fixed it by adding event listeners to BrowserWindow for maximize / unmaximize and comparing width height of screen of window to size of browserWindow and then subtracting difference from BrowserView