Skip to content

"WithProgress" notifications disappear after around 10 seconds #49044

Closed

Description

@DanTup

Progress notifications seem to disappear after around 10 seconds even if their promise is not completed or cancelled.

For example, put this in your extensions activate method:

vs.window.withProgress(
	{ location: vs.ProgressLocation.Notification, title: "30 second task" },
	(_) => new Promise((resolve) => setTimeout(resolve, 30000)),
);

The notification vanishes after around 10 seconds. I can't see anything in the docs to suggest this is deliberate (if so, it's very short for using on an external process that might be downloading something that you can't easily monitor).

Activity

  1. bpasero commented on May 3, 2018

    @bpasero
    Contributor

    PR welcome

  2. ihalip commented on May 4, 2018

    @ihalip
    Contributor

    Reproduced, looking into this.

  3. bpasero commented on May 9, 2018

    @bpasero
    Contributor

    Verify: while showing progress we do not remove the notification, but we do when the progress is done after a timeout.

  4. locked and limited conversation to collaborators on Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions