forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: UI/UX
Summary
The "Select Interpreter" Quick Pick provided by the vscode-python extension behaves differently from native VS Code Quick Pick (e.g., Command Palette, Go to File). In native Quick Pick, clicking outside the dropdown dismisses it. In the Python extension, the dropdown cannot be dismissed with mouse-only actions — the only options are selecting an interpreter or pressing Esc.
Discussion
- The Python extension may have specific reasons for overriding this behavior (e.g., to prevent accidental dismissal).
- However, this creates inconsistency and accessibility concerns, especially for users who are not easy to switch between mouse/keyboard operations.
Accessibility Impact
- Users who cannot easily use the keyboard (e.g., some people with disabilities) are forced to select an interpreter even if they only wanted to cancel.
- This increases cognitive and operational burden compared to native Quick Pick behavior.
Suggestion
- Align the Python extension’s Quick Pick with VS Code’s native behavior by default (dismiss on focus out).
- If the current design is intentional, consider adding a setting such as:
"python.interpreterSelection.ignoreFocusOut": true | falseMetadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team