Skip to content

Regression: interpreter selection status bar not working when switching environments #1124

Closed

Description

Repro Steps

  1. Open a workspace with Python files and a .venv in the workspace and an empty workspace settings.json
  2. Observe that the status bar shows the .venv as the selected environment
  3. Click the status bar and select a global interpreter from the dropdown

Expected Behavior
The interpreter switches to the selected global one, and the status bar updates accordingly.

Actual Behavior
The status bar still shows the venv as the selected environment

Recording.2026-01-26.131942.mp4

This does not repro before the changes in #1120
Root cause still needs investigation, but we may want to revert the changes in the meantime.

Activity

  1. StellaHuang95 commented on Jan 26, 2026

    @StellaHuang95
    ContributorAuthor

    Note: This doesn't repro if there's already "python-envs.defaultEnvManager" and "python-envs.defaultPackageManager" entries in the settings.json

  2. added a commit that references this issue on Feb 3, 2026
    ee031ad
  3. eleanorjboyd commented on Feb 3, 2026

    @eleanorjboyd
    Contributor

    Hello! This fix is now out on python-environment-extension version 1.17.10341640 (the newest pre-release). To switch, go to the marketplace for this extension and either select to install the latest pre-release or click the button that says "switch to pre-release" for the extension version. We would appreciate greatly if you are able to give this a try on the pre-release version and let us know if your bug is fixed!

  4. locked as resolved and limited conversation to collaborators on Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityinfo-neededIssue requires more information from postertriage-needed

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions