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

Terminal profiles do not appear in the menu, "Select Default Profile" does nothing #121722

Closed
clementhervy opened this issue Apr 20, 2021 · 9 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues terminal-profiles
Milestone

Comments

@clementhervy
Copy link

  • VS Code Version: 1.55.2
  • OS Version: Windows 10 Enterprise 1709 16299.1992

Steps to Reproduce:

  1. Using the portable mode / local data folder, update VS Code to 1.55.2
  2. Add the default terminal.integrated.profiles.windows configuration object to settings.json (with PowerShell, Command prompt, Git Bash), remove all other terminal related settings, save file.
  3. Start VS Code either normally or with the extensions disabled.
  4. Open the integrated terminal. The default powershell shell starts and works properly.
  5. In the integrated terminal dropdown menu, no options other than "Create JavaScript Debug Terminal", "Select Default Profile" and "Configure Terminal Settings" appear. Clicking "Select Default Profile" does nothing.

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

@vscodebot
Copy link

vscodebot bot commented Apr 20, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@meganrogge
Copy link
Contributor

What do you see in the Output channel in the Log (Extension Host)?

@meganrogge meganrogge added the info-needed Issue requires more information from poster label Apr 22, 2021
@meganrogge
Copy link
Contributor

Also, when you click Select Default Profile from the dropdown, can you pls provide a screenshot of what is displayed?

@clementhervy
Copy link
Author

What do you see in the Output channel in the Log (Extension Host)?

Nothing much. No error at least:

[2021-04-23 12:50:50.737] [exthost] [info] extension host started
[2021-04-23 12:50:50.866] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication {"startup":false,"extensionId":{"value":"vscode.microsoft-authentication","_lower":"vscode.microsoft-authentication"},"activationEvent":"onAuthenticationRequest:microsoft"}
[2021-04-23 12:50:50.866] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/microsoft-authentication/dist/extension.js
[2021-04-23 12:50:50.879] [exthost] [info] ExtensionService#_doActivateExtension GrapeCity.gc-excelviewer {"startup":false,"extensionId":{"value":"GrapeCity.gc-excelviewer","_lower":"grapecity.gc-excelviewer"},"activationEvent":"onLanguage:plaintext"}
[2021-04-23 12:50:50.879] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/grapecity.gc-excelviewer-3.0.41/dist/extension
[2021-04-23 12:50:50.886] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing {"startup":false,"extensionId":{"value":"vscode.configuration-editing","_lower":"vscode.configuration-editing"},"activationEvent":"onLanguage:jsonc"}
[2021-04-23 12:50:50.886] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/configuration-editing/dist/configurationEditingMain
[2021-04-23 12:50:50.896] [exthost] [info] ExtensionService#_doActivateExtension vscode.json-language-features {"startup":false,"extensionId":{"value":"vscode.json-language-features","_lower":"vscode.json-language-features"},"activationEvent":"onLanguage:jsonc"}
[2021-04-23 12:50:50.896] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/json-language-features/client/dist/node/jsonClientMain
[2021-04-23 12:50:50.920] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features {"startup":false,"extensionId":{"value":"vscode.typescript-language-features","_lower":"vscode.typescript-language-features"},"activationEvent":"onLanguage:jsonc"}
[2021-04-23 12:50:50.920] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/typescript-language-features/dist/extension
[2021-04-23 12:50:50.941] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-04-23 12:50:50.941] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/debug-auto-launch/dist/extension
[2021-04-23 12:50:50.952] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-23 12:50:50.952] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/git/dist/main
[2021-04-23 12:50:50.982] [exthost] [info] ExtensionService#_doActivateExtension andyyaldoo.vscode-json {"startup":true,"extensionId":{"value":"andyyaldoo.vscode-json","_lower":"andyyaldoo.vscode-json"},"activationEvent":"*"}
[2021-04-23 12:50:50.982] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/andyyaldoo.vscode-json-1.5.0/out/src/extension
[2021-04-23 12:50:51.003] [exthost] [info] ExtensionService#_doActivateExtension arturbelico.code-sum-up {"startup":true,"extensionId":{"value":"arturbelico.code-sum-up","_lower":"arturbelico.code-sum-up"},"activationEvent":"*"}
[2021-04-23 12:50:51.003] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/arturbelico.code-sum-up-0.1.0/out/extension
[2021-04-23 12:50:51.008] [exthost] [info] ExtensionService#_doActivateExtension Futureglobe.sepaswitch {"startup":true,"extensionId":{"value":"Futureglobe.sepaswitch","_lower":"futureglobe.sepaswitch"},"activationEvent":"*"}
[2021-04-23 12:50:51.008] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/futureglobe.sepaswitch-1.0.2/extension
[2021-04-23 12:50:51.012] [exthost] [info] ExtensionService#_doActivateExtension gencer.html-slim-scss-css-class-completion {"startup":true,"extensionId":{"value":"gencer.html-slim-scss-css-class-completion","_lower":"gencer.html-slim-scss-css-class-completion"},"activationEvent":"*"}
[2021-04-23 12:50:51.012] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/gencer.html-slim-scss-css-class-completion-1.7.8/dist/extension
[2021-04-23 12:50:51.088] [exthost] [info] ExtensionService#_doActivateExtension LaurentTreguier.vscode-simple-icons {"startup":true,"extensionId":{"value":"LaurentTreguier.vscode-simple-icons","_lower":"laurenttreguier.vscode-simple-icons"},"activationEvent":"*"}
[2021-04-23 12:50:51.088] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/laurenttreguier.vscode-simple-icons-1.14.0/out/extension
[2021-04-23 12:50:51.094] [exthost] [info] ExtensionService#_doActivateExtension ms-vsts.team {"startup":true,"extensionId":{"value":"ms-vsts.team","_lower":"ms-vsts.team"},"activationEvent":"*"}
[2021-04-23 12:50:51.094] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/ms-vsts.team-1.161.1/out/src/extension
[2021-04-23 12:50:52.300] [exthost] [info] ExtensionService#_doActivateExtension RobbOwen.synthwave-vscode {"startup":true,"extensionId":{"value":"RobbOwen.synthwave-vscode","_lower":"robbowen.synthwave-vscode"},"activationEvent":"*"}
[2021-04-23 12:50:52.300] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/robbowen.synthwave-vscode-0.1.8/src/extension.js
[2021-04-23 12:50:52.323] [exthost] [info] ExtensionService#_doActivateExtension schneiderpat.aspnet-helper {"startup":true,"extensionId":{"value":"schneiderpat.aspnet-helper","_lower":"schneiderpat.aspnet-helper"},"activationEvent":"*"}
[2021-04-23 12:50:52.323] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/schneiderpat.aspnet-helper-0.6.4/out/src/extension
[2021-04-23 12:50:52.403] [exthost] [info] ExtensionService#_doActivateExtension stkb.rewrap {"startup":true,"extensionId":{"value":"stkb.rewrap","_lower":"stkb.rewrap"},"activationEvent":"*"}
[2021-04-23 12:50:52.403] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/stkb.rewrap-1.14.0/vscode/compiled/Extension
[2021-04-23 12:50:52.526] [exthost] [info] ExtensionService#_doActivateExtension wayou.vscode-todo-highlight {"startup":true,"extensionId":{"value":"wayou.vscode-todo-highlight","_lower":"wayou.vscode-todo-highlight"},"activationEvent":"*"}
[2021-04-23 12:50:52.526] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/wayou.vscode-todo-highlight-1.0.4/src/extension
[2021-04-23 12:50:53.009] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-23 12:50:53.009] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/github/dist/extension.js
[2021-04-23 12:50:53.020] [exthost] [info] eager extensions activated
[2021-04-23 12:50:53.021] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-04-23 12:50:53.021] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/ms-vscode.js-debug/src/extension.js
[2021-04-23 12:50:53.125] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-04-23 12:50:53.125] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/emmet/dist/node/emmetNodeMain
[2021-04-23 12:50:53.134] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-04-23 12:50:53.134] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/merge-conflict/dist/mergeConflictMain
[2021-04-23 12:50:53.138] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender {"startup":false,"extensionId":{"value":"ms-vscode-remote.remote-wsl-recommender","_lower":"ms-vscode-remote.remote-wsl-recommender"},"activationEvent":"onStartupFinished"}
[2021-04-23 12:50:53.138] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender/dist/extension.js
[2021-04-23 12:50:53.146] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-04-23 12:50:53.146] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/testing-editor-contributions/dist/extension.js
[2021-04-23 12:50:53.149] [exthost] [info] ExtensionService#_doActivateExtension formulahendry.code-runner {"startup":false,"extensionId":{"value":"formulahendry.code-runner","_lower":"formulahendry.code-runner"},"activationEvent":"onStartupFinished"}
[2021-04-23 12:50:53.149] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/formulahendry.code-runner-0.11.3/out/src/extension
[2021-04-23 12:50:53.253] [exthost] [info] ExtensionService#_doActivateExtension ryu1kn.partial-diff {"startup":false,"extensionId":{"value":"ryu1kn.partial-diff","_lower":"ryu1kn.partial-diff"},"activationEvent":"onStartupFinished"}
[2021-04-23 12:50:53.253] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/data/extensions/ryu1kn.partial-diff-1.4.3/dist/extension
[2021-04-23 12:50:53.387] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication {"startup":false,"extensionId":{"value":"vscode.github-authentication","_lower":"vscode.github-authentication"},"activationEvent":"onAuthenticationRequest:github"}
[2021-04-23 12:50:53.387] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/All/Applications/vscode/resources/app/extensions/github-authentication/dist/extension.js

That's after opening VSCode and clicking on "Select Default Profile".

Also, when you click Select Default Profile from the dropdown, can you pls provide a screenshot of what is displayed?

I can provide a screenshot , but you'd only see my usual VSCode window: nothing happens when I click it. Nothing opens, nothing flickers, nothing is logged in any of the Log traces (Main, Window, etc.), nothing is logged in the Developer Tools console.

@Tyriar
Copy link
Member

Tyriar commented Apr 26, 2021

I believe this is already fixed, can you see if you can reproduce in the Insiders build?

@Tyriar Tyriar closed this as completed Apr 26, 2021
@clementhervy
Copy link
Author

I believe this is already fixed, can you see if you can reproduce in the Insiders build?

I have the same problematic behavior in the last Insiders version.

@Tyriar Tyriar reopened this Apr 26, 2021
@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues terminal-profiles and removed info-needed Issue requires more information from poster labels Apr 26, 2021
@Tyriar Tyriar added this to the Backlog milestone Apr 26, 2021
@clementhervy
Copy link
Author

Setting "terminal.integrated.useWslProfiles" to false seems to fix the problem. WSL was indeed installed on the computer in question at some point, but is not currently used.

@Lycolia
Copy link

Lycolia commented Jun 4, 2021

Setting "terminal.integrated.useWslProfiles" to false seems to fix the problem. WSL was indeed installed on the computer in question at some point, but is not currently used.

It's amazing!
I confirmed this problem solved following environment.

バージョン: 1.56.2 (user setup)
コミット: 054a929
日付: 2021-05-12T17:13:13.157Z (3 週間前)
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Windows_NT x64 10.0.19042

@Tyriar
Copy link
Member

Tyriar commented Oct 18, 2021

/duplicate #134418

@Tyriar Tyriar closed this as completed Oct 18, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2021
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 *duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues terminal-profiles
Projects
None yet
Development

No branches or pull requests

5 participants
@Tyriar @clementhervy @meganrogge @Lycolia and others