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

Portable mode: old profile folder is recreated #172367

Closed
aeschli opened this issue Jan 25, 2023 · 1 comment · Fixed by #172524
Closed

Portable mode: old profile folder is recreated #172367

aeschli opened this issue Jan 25, 2023 · 1 comment · Fixed by #172524
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders user-profiles User profile management verified Verification succeeded
Milestone

Comments

@aeschli
Copy link
Contributor

aeschli commented Jan 25, 2023

Testing #172015

Version: 1.75.0-insider
Commit: 0a6c277
Date: 2023-01-24T05:22:55.489Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Windows_NT x64 10.0.22623
Sandboxed: Yes

  • download and extract the VS Code insiders zip build to %HOMEPATH\VSCode-win32-x64-1.75.0-insider
  • create a data folder VSCode-win32-x64-1.75.0-insider\data
  • start code-insiders and create some profiles
  • open a folder and set one of the new profiles
  • close VS Code, rename VSCode-win32-x64-1.75.0-insider to VSCode-win32-x64-1.75.0-insider2
  • start VS Code again. It opens on the previous folder with the profile
  • check the disk. A folder VSCode-win32-x64-1.75.0-insider has been recreated: VSCode-win32-x64-1.75.0-insider\data\user-data\User\profiles\7898c455\snippets` (no files, just folders)
@sandy081 sandy081 added bug Issue identified by VS Code Team member as probable bug user-profiles User profile management labels Jan 26, 2023
@sandy081 sandy081 added this to the January 2023 milestone Jan 26, 2023
@sandy081
Copy link
Member

Great catch. Thanks for reporting.

sandy081 added a commit that referenced this issue Jan 26, 2023
sandy081 added a commit that referenced this issue Jan 26, 2023
* fix #172367

* fix tests
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jan 26, 2023
@aeschli aeschli added the verified Verification succeeded label Jan 27, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders user-profiles User profile management verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants