Microsoft/vscode

Minimising a Maximised Window and bringing it back up causes the window to appear stretched

Open

#202,196 opened on Jan 10, 2024

View on GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
bugelectronhelp wantedmulti-monitorupstreamwindows

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: Version: 1.85.1 (user setup)
  • OS Version: Windows_NT x64 10.0.22621 (Windows 11 23H2)

I have three monitors arranged: 1080p 23" left 1080p 23" centre 4k 15.6" laptop right

In Windows they appear like this: image

However obviously the 4k screen is physically smaller (but higher resolution) so it's the other way round physically to what's shown.

Steps to Reproduce:

  1. Have a Maximised window and minimise it
  2. Bring the window back up
  3. The window will be stretched wide across the centre and right hand monitor:

Before: image

After: image

Contributor guide