Skip to content

Quick pick: selecting entry with keyboard does not put focus back to editor #106824

Closed

Description

Steps to Reproduce:

  1. use the language mode picker to pick a language for an untitled file
  2. use the mouse to select an entry and focus moves back to the editor
  3. 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.

Activity

  1. chrmarti commented on Sep 16, 2020

    @chrmarti
    Collaborator

    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.

  2. added
    bug
    on Oct 1, 2020
  3. susiwen8 commented on Jan 17, 2021

    @susiwen8
    Contributor

    Christof Marti (@chrmarti) Hi I have a solution for this issue, could you review my PR?

  4. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jan 19, 2021
  5. locked and limited conversation to collaborators on Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedquick-pickverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions