Skip to content

Dragging VS Code across two screens with different resolutions fails #79311

@chucklepie

Description

@chucklepie
  • VSCode Version: 1.36.1
  • OS Version: Windows 8

I have two screens:

  1. 1920x1080
  2. 1600x1200

First, note, this fault has only started happening so was probably introduced in the last few updates (unless I really have not dragged across screens for a while!)

When I open up code on one window then drag to the other, it keeps the same size area but then either loses content or adds black space to fill the resolution gap, depending on which direction.

That probably didn't make much sense, here are some screenshots to explain:

  1. I open up vs code on a 1920x1080 screen ok:
    image

  2. I drag it across to the 1600x1200 page and this happens (it truncates the window chopping off the right and bottom):
    image

  3. I open up vs code on 1600x1200 screen ok:
    image

  4. I drag it across to the 1920x1080 page and I get this (the black is part of the vs code application and the mouse is offset):
    image

Notes:

  1. On item 4, everything is offset so if I place my mouse halfway into the black area it starts highlighting the min/max/close buttons
  2. If I maximise the window, then it all goes back to normal and works

Metadata

Metadata

Assignees

Labels

electronIssues and items related to ElectronupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions