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

Release notes 1.19.1 won't go away #41108

Closed
Shikkic opened this issue Jan 3, 2018 · 22 comments
Closed

Release notes 1.19.1 won't go away #41108

Shikkic opened this issue Jan 3, 2018 · 22 comments
Assignees
Labels
info-needed Issue requires more information from poster workbench-state UI state across restarts

Comments

@Shikkic
Copy link

Shikkic commented Jan 3, 2018

I have been having this issue for awhile where the release notes will not go away, and they appear on every launch of vscode.

I saw this question on SO https://stackoverflow.com/questions/45913900/visual-studio-code-keeps-opening-the-release-notes, but it wasn't much help and couldn't find any related GH issues for it. (Not that it's super complicated but here is a visual of whats happening on my end).

  • VSCode Version: Code 1.19.1 (0759f77, 2017-12-19T09:35:14.671Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions: Extensions are disabled

Steps to Reproduce:

  1. Open up file, or new VS code window
  2. Release notes 1.19.1 always appears

Reproduces without extensions: Yes

FWIW, I imagine it might be that vscode is having trouble saving something internally, maybe due to a perm issue in some data folder, but I'm not sure.

@vscodebot vscodebot bot added the workbench label Jan 3, 2018
@Shikkic Shikkic changed the title Release notes won't go away Release notes 1.19.1 won't go away Jan 3, 2018
@bpasero bpasero added release-notes Release notes issues and removed workbench labels Jan 4, 2018
@bpasero bpasero assigned joaomoreno and unassigned bpasero Jan 4, 2018
@joaomoreno
Copy link
Member

@bpasero The update contribute code uses the storage service for this: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/update/electron-browser/update.ts#L236

It seems to work for pretty much everyone except this user. What could go wrong for him?

@bpasero
Copy link
Member

bpasero commented Jan 8, 2018

@Shikkic how about other view state, e.g. is your last used editor restoring properly after a restart of Code on the same folder?

@bpasero bpasero added workbench-state UI state across restarts info-needed Issue requires more information from poster labels Jan 8, 2018
@Shikkic
Copy link
Author

Shikkic commented Jan 8, 2018

@bpasero @joaomoreno

If I close the window without completely quitting vscode and reopen with the same folder all the files are restored properly without the release notes appearing.

However, if I completely force quit vscode and reopen with the same folder it doesn't restore the session and it shows the welcome page with the release notes.

@Shikkic Shikkic closed this as completed Jan 8, 2018
@Shikkic Shikkic reopened this Jan 8, 2018
@bpasero
Copy link
Member

bpasero commented Jan 9, 2018

@Shikkic how do you "force quit"?

@Shikkic
Copy link
Author

Shikkic commented Jan 9, 2018

@bpasero I'm on macOS, so I use ⌘+Q

@bpasero
Copy link
Member

bpasero commented Jan 9, 2018

Please see if you can find any logged output that could help us find the source of the issue:

  • run code --verbose from the command line and attach the output
  • in Code select Help | Toggle Developer Tools and select the Console
  • attach any output you see in the Console you can find

Thanks!

@bpasero bpasero removed the release-notes Release notes issues label Jan 9, 2018
@Shikkic
Copy link
Author

Shikkic commented Jan 9, 2018

This was all I saw, even after closing the release notes. Appreciate all your help!

00:59:20.329 extensionHost.ts:290 [Extension Host] debugger listening on port 9333
00:59:20.543 extensionService.ts:656 [/Users/dancadden/.vscode/extensions/ms-vscode.cpptools-0.14.5]: Command `workbench.action.gotoSymbol` appears multiple times in the `commands` section.
00:59:20.544 extensionService.ts:656 [/Users/dancadden/.vscode/extensions/ms-vscode.cpptools-0.14.5]: Command `workbench.action.showAllSymbols` appears multiple times in the `commands` section.
00:59:20.653 extensionHost.ts:200 [Extension Host] debugger inspector at %cStarting inspector on 127.0.0.1:9333 failed: address already in use

00:59:21.856 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.857 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.858 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.859 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.860 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.868 console.ts:123 [Extension Host] Unhandled Rejection at: Promise  Object  reason:  TypeError: Cannot read property 'options' of undefined
	at /Users/dancadden/.vscode/extensions/vscodevim.vim-0.10.8/out/extension.js:75:56
	at Generator.next (<anonymous>)
	at fulfilled (/Users/dancadden/.vscode/extensions/vscodevim.vim-0.10.8/out/extension.js:4:58)
	at <anonymous> (at process.<anonymous> (/Users/dancadden/.vscode/extensions/vscodevim.vim-0.10.8/out/extension.js:341:13))
00:59:21.868 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.868 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.868 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.868 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.868 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.869 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.870 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.870 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.870 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.870 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.872 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.872 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.879 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.901 log.ts:141 TRACE SCMService#registerSCMProvider
00:59:21.903 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:21.992 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:22.016 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:22.854 log.ts:141 TRACE CommandService#executeCommand setContext
00:59:22.872 console.ts:123 [Extension Host] rejected promise not handled within 1 second (at Timeout._onTimeout (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:534:327))
t.log @ console.ts:123
00:59:22.872 mainThreadExtensionService.ts:43 [vscodevim.vim]Cannot read property 'options' of undefined
e.$onExtensionRuntimeError @ mainThreadExtensionService.ts:43
00:59:22.872 mainThreadExtensionService.ts:44 TypeError: Cannot read property 'options' of undefined
	at /Users/dancadden/.vscode/extensions/vscodevim.vim-0.10.8/out/extension.js:75:56
	at Generator.next (<anonymous>)
	at fulfilled (/Users/dancadden/.vscode/extensions/vscodevim.vim-0.10.8/out/extension.js:4:58)
	at <anonymous>```
  

@bpasero
Copy link
Member

bpasero commented Jan 9, 2018

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@Shikkic
Copy link
Author

Shikkic commented Jan 9, 2018

Just tried it out @bpasero and I can't seem to reproduce the issues.

The release notes are gone, and it saves my session when I force quit the application and I'm able to restore where I left off.

@Shikkic
Copy link
Author

Shikkic commented Jan 9, 2018

Do you think it make sense to try and clear the Local Storage >> file:// data? Maybe something is corrupt and it can't restore the session properly?

I dumped the storage into a gist if you wanna take a look.

I notice that towards the bottom it has multiple copies of similar data + keys for the following:

...
storage://workspace/empty:1510864758660/lifecyle.lastshutdownreason 
storage://workspace/empty:1510864758660/memento/workbench.editor.walkthroughpart
storage://workspace/empty:1510864758660/workbench.sidebar.hidden
...

@bpasero
Copy link
Member

bpasero commented Jan 9, 2018

Can you share your settings?

@Shikkic
Copy link
Author

Shikkic commented Jan 10, 2018

@bpasero

    // Go
    "go.testOnSave": true,
    "go.coverOnSave": false,
    "go.useLanguageServer": false,
    "go.lintOnSave": "package",
    "go.vetOnSave": "package",
    "go.buildOnSave": "workspace",

    // Editor
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.formatOnPaste": true,
    "editor.minimap.enabled": false,

    // Workbench
    "workbench.colorTheme": "Base16 Light Colors",
    "workbench.editor.enablePreview": false,
    "workbench.colorCustomizations": {
        "terminal.ansiBlack": "#181818",
        "terminal.ansiRed": "#ab4642",
        "terminal.ansiGreen": "#a1b56c",
        "terminal.ansiYellow": "#f7ca88",
        "terminal.ansiBlue": "#7cafc2",
        "terminal.ansiMagenta": "#ba8baf",
        "terminal.ansiCyan": "#86c1b9",
        "terminal.ansiWhite": "#d8d8d8",
        "terminal.ansiBrightBlack": "#585858",
        "terminal.ansiBrightRed": "#ab4642",
        "terminal.ansiBrightGreen": "#a1b56c",
        "terminal.ansiBrightYellow": "#f7ca88",
        "terminal.ansiBrightBlue": "#7cafc2",
        "terminal.ansiBrightMagenta": "#ba8baf",
        "terminal.ansiBrightCyan": "#86c1b9",
        "terminal.ansiBrightWhite": "#ffffff",
        "terminal.background": "#1d1f21",
        "terminal.foreground": "#fff"
    },

    // Atom Key Mappings
    "atomKeymap.promptV3Features": true,

    // Search Exclude
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/bower_components": true,
        "**/jspm_packages": true,
        "**/node_modules": true,
        //"**/vendor":true
    },

    // Vim
    "editor.lineNumbers": "relative",

    // Javascript
    "typescript.disableAutomaticTypeAcquisition": true,
    "javascript.validate.enable": false,
    "javascript.format.enable": false,
    "workbench.iconTheme": "vscode-great-icons",
    "window.zoomLevel": 0,
    "go.testFlags": [
        "-v"
    ],
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressUpdateNotice": false,
        "suppressWelcomeNotice": true
    },
    "extensions.ignoreRecommendations": false,
    "python.linting.enabledWithoutWorkspace": false,
    "python.disablePromptForFeatures": [
        "pylint"
    ],
    "rust.rustup": {
        "toolchain": "stable-x86_64-apple-darwin"
    },
    "rust.mode": "legacy",
    //"go.buildTags": "integration"
}

@bpasero
Copy link
Member

bpasero commented Jan 10, 2018

@Shikkic what is the size of this folder for you: /Users/<your user>/Library/Application Support/Code/Local Storage?

@Shikkic
Copy link
Author

Shikkic commented Jan 10, 2018

@bpasero It's 2mb

@bpasero
Copy link
Member

bpasero commented Jan 10, 2018

@Shikkic thats not too bad. Can you try this scenario with "code --user-data-dir "? This will make sure the storage is written to a new empty place. I would expect this issue to not happen anymore in that case.

@bpasero
Copy link
Member

bpasero commented Jan 10, 2018

@Shikkic wow that is crazy, so then it must be related to Code stable vs Code insider. I have no idea what we changed though that could have an impact...

@bpasero
Copy link
Member

bpasero commented Jan 10, 2018

@Shikkic to confirm, when you used that option, all settings were back to default and you saw the welcome screen right?

@Shikkic
Copy link
Author

Shikkic commented Jan 10, 2018

@bpasero I spoke too soon that was my bad, it actually worked, I forgot to specify the data dir with the flag.

If I do code . --user-data-dir='.' I don't see the release notes anymore

@Shikkic
Copy link
Author

Shikkic commented Jan 10, 2018

@bpasero How should I follow up? I'm assuming something in the user data folder is corrupted?

@bpasero
Copy link
Member

bpasero commented Jan 10, 2018

@Shikkic ok you could take out the VS Code specific things from that folder and delete the storage related things. Basically:

  • keep the User folder
  • keep the Workspaces folder
  • keep storage.json file
  • keep machineid
  • keep Backups folder

=> delete the rest and restart Code

@Shikkic
Copy link
Author

Shikkic commented Jan 10, 2018

@bpasero So I decided to try deleting things one-by-one and re-opening VScode to see if I could find which fixed it.

I started with deleting Local Storage first, opened VS code and it works!! I'm no longer bound to the hellish prison of re-reading 1.19.1 release notes everyday.

Thanks so much for your consistent help! 🎉 🎈

@Shikkic Shikkic closed this as completed Jan 10, 2018
@bpasero
Copy link
Member

bpasero commented Jan 10, 2018

@Shikkic ok great to hear that

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster workbench-state UI state across restarts
Projects
None yet
Development

No branches or pull requests

3 participants