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

Windows and Editors not restored after reboot (1.25.1 on Windows 10 1803) #56235

Closed
youurayy opened this issue Aug 12, 2018 · 4 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) workbench-state UI state across restarts

Comments

@youurayy
Copy link

  • VSCode Version: 1.25.1
  • OS Version: Windows

Note: This is NOT a duplicate of #50846 which is about a loss of VS Code windows when VS Code is started by opening a file.

Steps to Reproduce:

  1. Set VSCode to "window.restoreWindows": "all",
  2. Open a VSCode window in some folder, and open a few files.
  3. Optional: open more VSCode windows and open some files in each.
  4. Reboot the system via start menu.
  5. When booted, start VSCode

Expected result: All VSCode windows and all editors in their remembered tab splits and tab positions should be restored (this worked in previous versions).

Actual result: only the first VSCode window is restored, and no editors are restored (the window is empty).

Note: when VSCode is closed by right-clicking on the Taskbar icon, and clicking "Close all windows", the Editors are restored, but only the first Window is reopened.

User sentiment: it's really tiring to have to manually reopen ~6 windows with 20's of tabs each on every Windows restart, which there are plenty.

Does this issue occur when all extensions are disabled?: Yes, tested!

My VSCode config:

{
    "window.zoomLevel": 0,
    "workbench.statusBar.visible": false,
    "editor.renderWhitespace": "all",
    "editor.wordWrap": "on",
    "editor.tabSize": 2,
    "editor.cursorBlinking": "solid",
    "git.confirmSync": false,
    "window.restoreWindows": "all",
    "window.restoreFullscreen": true,
    "workbench.editor.enablePreview": false,
    "workbench.editor.enablePreviewFromQuickOpen": false,
    "editor.lineNumbers": "off",
    "editor.detectIndentation": false,
    "editor.autoClosingBrackets": false,
    "editor.mouseWheelZoom": false,
    "editor.folding": false,
    "editor.rulers": [],
    "editor.glyphMargin": false,
    "editor.codeLens": false,
    "explorer.openEditors.visible": 999,
    "editor.fontSize": 14,
    "editor.scrollBeyondLastLine": false,
    "editor.quickSuggestions": false,
    "files.trimTrailingWhitespace": true,
    "terminal.integrated.shell.windows": "C:\\cygwin64\\bin\\bash.exe",
    "terminal.integrated.shellArgs.windows": ["/bin/xhere", "/bin/bash"],
    "window.newWindowDimensions": "fullscreen",
    "files.eol": "\n",
    "workbench.editor.revealIfOpen": false,
    "zenMode.hideTabs": false,
    "zenMode.restore": true,
    "git.enabled": false,
    "git.autorefresh": false,
    "git.autofetch": false,
    "git.countBadge": "tracked",
    "editor.formatOnType": false,
    "workbench.iconTheme": null,
    "editor.renderControlCharacters": true,
    "editor.renderLineHighlight": "all",
    "editor.minimap.enabled": false,
    "window.openFoldersInNewWindow": "on",
    "workbench.startupEditor": "none",
    "window.menuBarVisibility": "toggle",
    "window.smoothScrollingWorkaround": true,
    "extensions.ignoreRecommendations": true,
    "javascript.validate.enable": false,
    "flow.useNPMPackagedFlow": true,
    "workbench.activityBar.visible": false
  }
@bpasero bpasero added the workbench-state UI state across restarts label Aug 13, 2018
@bpasero
Copy link
Member

bpasero commented Aug 13, 2018

Duplicate of #12058

@bpasero bpasero marked this as a duplicate of #12058 Aug 13, 2018
@bpasero bpasero closed this as completed Aug 13, 2018
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 13, 2018
@youurayy
Copy link
Author

@bpasero windows aren't restored even when VSCode closed from system taskbar by "Close all windows".

@bpasero
Copy link
Member

bpasero commented Aug 13, 2018

@youurayy that is expected, it will actually trigger a close of each window one by one and as such is different from File > Exit where no windows close but the application quits.

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) workbench-state UI state across restarts
Projects
None yet
Development

No branches or pull requests

2 participants