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
Window in fullscreen does not restore to correct monitor in some cases #25400
Comments
That is weird, we do support that scenario. Does it reproduce when using our insiders release? |
@bpasero, my fault I didn't mention about fullscreen mode. Because I mainly use VSCode in fullscreen mode. Insiders build actually acted same as usual build. But if to follow this scenario:
that is expected, I think. Another scenario:
to simplify: VSCode will save position if it's in window mode I hope that makes sense. I've tried similar scenarios with default macOS apps, say Notes. And it's position/state have been saving either it's in window or fullscreen mode. |
Ok let me try to repro that. |
@sevenfourk there is a workaround for your problem:
The issue is in https://github.com/Microsoft/vscode/blob/master/src/vs/code/electron-main/window.ts#L601 where it reads |
@bpasero thanks, yeah, that's how I did it. Thanks for taking care of that. |
Verification:
|
@bpasero, thanks. |
Great, 1.13.0 already has this fix. Thanks. |
Currently VSCode will open in fullscreen on my default monitor instead of a monitor where I left it off (closed it).
So I have to drag/move it to my external monitor (VSCode in fullscreen mode).
Steps to Reproduce:
Insiders build actually acted same as usual build.
If to follow this scenario:
that is expected, I think.
Another scenario:
to simplify: VSCode will save position if it's in window mode
I hope that makes sense.
I've tried similar scenarios with default macOS apps, say Notes. And it's position/state have been saving either it's in window or fullscreen mode.
The text was updated successfully, but these errors were encountered: