Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Workspace doesn't restores itself on re-opening Code in Ubuntu 17.10 GNOME #36695
I can reproduce but only when I launch VS Code from the task bar, not when running from the command line. All state (local storage) seems to be there, just not the window state (which folder was opened before).
@Tyriar do you have any clue what could go on here?
@bpasero I had the same problem.
Looking into the code.desktop file I notice this:
The action 'new-window' is beeing triggered every time I click on the dock icon, when it supposed to behave like that only when the action is clicked. I figure if I remove the '--new-window' attribute from the Exec it will restore the workspace normally.
Maybe is a gnome dock issue or just an error on the desktop file syntax.
Hope I helped!