Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
chucklepie opened this issue Aug 16, 2019 · 9 comments · Fixed by #81644
Closed

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

chucklepie opened this issue Aug 16, 2019 · 9 comments · Fixed by #81644
Assignees
Labels
electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@chucklepie
Copy link

chucklepie commented Aug 16, 2019

  • 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
@deepak1556
Copy link
Collaborator

@chucklepie can you test this with our exploration builds #75802 (comment) , thanks!

@deepak1556 deepak1556 added electron Issues and items related to Electron info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Aug 21, 2019
@vscodebot
Copy link

vscodebot bot commented Aug 28, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Aug 28, 2019
@chucklepie
Copy link
Author

chucklepie commented Aug 28, 2019

So, instead of fixing bugs and testing, you simply say 'why not try the latest dev build and see if it works', then close the case hoping the bug count numbers go down irrespective of any testing?

@deepak1556
Copy link
Collaborator

@chucklepie the aim of asking you to try a new version was to narrow down the cause since these are issues from chromium/electron under a particular setup, and if it still occurs in the latest build we will then narrow down a smaller repro and sometimes get some additional logs (not possible in this case). The issue was closed since there was no response for 8 days after adding the needs more info label. Can you please update if the issue still repros with latest version of exploration builds, thanks!

@deepak1556 deepak1556 reopened this Aug 28, 2019
@chucklepie
Copy link
Author

Ok, downloading now. Hope it doesn't break my existing version ;)

@chucklepie
Copy link
Author

Hello, it works, you can see it visibly resizing the window as you move between screens (presuming it's not an extension issue). When will this be merged into stable release?

btw, thanks, and sorry for being terse :)

@deepak1556
Copy link
Collaborator

Thanks for testing! you can expect this in insiders within the next 2/3 releases, after which it will get into stable.

@deepak1556 deepak1556 added fixed-in-electron-6.0.x and removed info-needed Issue requires more information from poster labels Aug 29, 2019
@deepak1556 deepak1556 added this to the October 2019 milestone Oct 9, 2019
@chucklepie
Copy link
Author

Can this be re-opened, since the version before last it has started happening again, refer to my post and screenshots.

@deepak1556
Copy link
Collaborator

@chucklepie did you test with the latest insiders release ? https://code.visualstudio.com/insiders/ , the fix has only landed there.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants