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
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for an issue that matches the one I want to file, without success.
Issue Details
Electron Version:
7.0.0 beta 4+ (including 7.0 release), 6.0.6+
Operating System:
Windows 10 (1903)
Last Known Working Electron version:
7.0.0 beta 3, 6.0.5
Expected Behavior
Non resizable windows should have proper bounds on Monitors with display scales that are different from the primary.
Actual Behavior
Non-resizable windows have bounds that are off by the ratio of the display scale of the secondary monitor to the primary monitor. e.g. if primary monitor is 200% scaled and secondary is 100%, the windows are 200/100 = twice the width and height.
To anyone following this issue - if you set resizable to true right before setting the bounds on the window, the bug disappears. Workaround until it can be fixed properly.
Activity
carterbs commentedon Oct 24, 2019
To anyone following this issue - if you set resizable to true right before setting the bounds on the window, the bug disappears. Workaround until it can be fixed properly.