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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing entries from "Recently opened" picker closes the picker #56648

Closed
bpasero opened this issue Aug 17, 2018 · 4 comments
Closed

Removing entries from "Recently opened" picker closes the picker #56648

bpasero opened this issue Aug 17, 2018 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues verified Verification succeeded
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Aug 17, 2018

  • VSCode Version: 1.27 insiders
  • OS Version: macOS

Steps to Reproduce:

  1. open the recently opened quick pick
  2. remove files by clicking on the "X" multiple times

=> 馃悰 at random times the picker decides to close

@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug quick-pick Quick-pick widget issues labels Aug 17, 2018
@chrmarti chrmarti added this to the August 2018 milestone Aug 17, 2018
@chrmarti
Copy link
Contributor

When you click quickly the first click triggers the toolbar item and the second triggers a double click event in the list widget which then triggers a selection change that makes the picker close with the selected item as the result.

@joaomoreno Any ideas? Should we add an option to the list widget to disable selection on double click?

@joaomoreno
Copy link
Member

When you click quickly the first click triggers the toolbar item and the second triggers a double click event in the list widget

It sounds like the event shouldn't even reach the list, if it is supposed to be handled by the toolbar. The toolbar action should stopPropagation.

@chrmarti
Copy link
Contributor

@joaomoreno
Copy link
Member

The event which needed to stop propagation was dblclick.

@bpasero bpasero added the verified Verification succeeded label Aug 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 13, 2018
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 quick-pick Quick-pick widget issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants