Window restores with different bounds each restart
See original GitHub issueDoes this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.74.2
- OS Version: Windows 10.0.19044 Build 19044
Steps to Reproduce:
- Put VS Code in a non-maximized size mode.
- Resize the main window so that its right and bottom border is near the right and bottom edge of the screen. The top and left edge should have some space between the screen’s edges.
- Repeatedly open and close the app.
- Watch the window slowly increase its size towards the right and bottom edge.
- Watch it grow even outside of the screen.
Issue Analytics
- State:
- Created 9 months ago
- Comments:22 (9 by maintainers)
Top Results From Across the Web
c# - Changing a window's restore position using ...
The private RestoreWindowBoundsIfNecessary() method puts the window back, it will run when the window is restored. From what I can tell, the ...
Read more >How to reset the window position of an application - Super User
One way is you can right click the taskbar in XP and choose cascade or tile, though it will do it for all...
Read more >Some Programs Are Displayed Off the Screen
Start the program. · Right-click the program on the taskbar, and then click Maximize. · Right-click a blank area of the taskbar, and...
Read more >Preserve window size when restoring a maximized window
Now in order to do this, first check x + width, and y + height to make sure its not outside bounds of...
Read more >How To Fix Random Restarts on Windows 10/11 | SoftwareKeep
Many different things can cause your computer randomly restarting issue. These range from simple issues like outdated drivers to more complex problems like ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s probably related somehow. But they talk about multiple screens and different scaling. I have only one and keep it at 100%.
Marking as upstream: we get different window bounds after setting bounds, so the window moves on the screen. I am not aware of a way for us to fix this and https://github.com/electron/electron/issues/27651 sounds very much related.