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
"WithProgress" notifications disappear after around 10 seconds #49044
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
bpasero commentedon May 3, 2018
PR welcome
ihalip commentedon May 4, 2018
Reproduced, looking into this.
bpasero commentedon May 9, 2018
Verify: while showing progress we do not remove the notification, but we do when the progress is done after a timeout.
follow up polish on #49044