You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Quick pick: selecting entry with keyboard does not put focus back to editor #106824
bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersquick-pickQuick-pick widget issuesverifiedVerification succeeded
use the language mode picker to pick a language for an untitled file
use the mouse to select an entry and focus moves back to the editor
do it again and use the keyboard (pressing enter) on an entry
=> 🐛 focus is not moving in to the editor
I think it would make sense to be consistent here and always move focus back to the editor, especially given the picker is changing the editor so you are likely to continue to type afterwards.
This happens when clicking the mode picker in the statusbar because the QuickPick remembers the previous focus element. Not sure why with the mouse the focus goes to the editor, but since the mode picker knows that its target is the current editor, maybe it is the mode picker that should set the focus to the editor.
bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersquick-pickQuick-pick widget issuesverifiedVerification succeeded
Activity
chrmarti commentedon Sep 16, 2020
This happens when clicking the mode picker in the statusbar because the QuickPick remembers the previous focus element. Not sure why with the mouse the focus goes to the editor, but since the mode picker knows that its target is the current editor, maybe it is the mode picker that should set the focus to the editor.
I'll look into the inconsistency.
susiwen8 commentedon Jan 17, 2021
Christof Marti (@chrmarti) Hi I have a solution for this issue, could you review my PR?