-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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.restoreWindows": "folders" doesn't work under Linux #49050
Comments
@MrChriZ video proof please |
OK Slightly different -- here's a video of it not working in Windows which is running under a VM on my Linux setup. It was easier to demonstrate code being closed unexpectedly here by killing the VM: https://www.youtube.com/watch?v=NDwZtpLgOA0&feature=youtu.be This is a clean install of code. |
Something more nuanced is going on under Linux I opened two Ember projects I'm working on and killed code and then reopened and it instead reopened my red / blue folders I had opened previously. https://www.youtube.com/watch?v=Tc9AgbWlTSE&feature=youtu.be |
It dawned on me that there may be some kind of timer which waits for a while before saving the folder set and so causing the results I'm seeing. Linux however is behaving more as expected with this method of testing however.. I'll keep working to see if I can reproduce my issues which are usually caused when the battery on my laptop runs out of juice prior to the operating system shutting down in an orderly fashion. |
So I tried again opening two folders sets in Linux. I interacted with both flicking through different files. https://www.youtube.com/watch?v=jDS-DnSnP6A Again Code does not open the correct folder set. |
@MrChriZ wait a sec, you "power off" the machine while VS Code is running and expect it to restore all windows then? I think there is a high likelyhood that this kills VS Code without having a chance to persist any data. VS Code needs a normal shutdown for this feature to work. Can you please reproduce this issue by opening 2 folders, then selecting File > Quit and then starting again? |
"VS Code needs a normal shutdown for this feature to work." It can't be that hard to remember which folders were last opened (at the point they were opened)? |
Yeah agreed, so marking as duplicate of #12058 |
Thanks did search but didn't see that one. |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: