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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismissing a workbench message doesn't wrap up API promise #5797

Closed
joaomoreno opened this issue Apr 26, 2016 · 3 comments
Closed

Dismissing a workbench message doesn't wrap up API promise #5797

joaomoreno opened this issue Apr 26, 2016 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@joaomoreno
Copy link
Member

Testing #5743

The promise returned by vscode.window.showInformationMessage() never completes if the user dismisses it with Escape.

I expected it to complete with undefined, similarly to when pressing Close.

@joaomoreno joaomoreno added the bug Issue identified by VS Code Team member as probable bug label Apr 26, 2016
@jrieken jrieken added this to the April 2016 milestone Apr 26, 2016
@jrieken
Copy link
Member

jrieken commented Apr 26, 2016

Good find. @bpasero How do I find out when dispose by Esc happens?

@bpasero
Copy link
Member

bpasero commented Apr 26, 2016

@jrieken hm, not so straight forward but I can see two possible options with the existing way it works:

@jrieken
Copy link
Member

jrieken commented Apr 26, 2016

I can go with option #1

@jrieken jrieken assigned joaomoreno and unassigned jrieken Apr 28, 2016
@joaomoreno joaomoreno added the verified Verification succeeded label Apr 29, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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 verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants