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

The progress reporter does not stop spinning in the status bar even after the job is completed. #3249

Open
testforstephen opened this issue Aug 21, 2023 · 4 comments
Assignees

Comments

@testforstephen
Copy link
Collaborator

I have been using the 1.22.x pre-release version for daily work and I noticed that sometimes the progress reporter keeps spinning in the status bar even after the job is completed.

As you can see in the screenshot below, the "Initialize Workspace"job has finished and there is no more activity in the “Java Build Status” terminal, but the progress reporter in the status bar is still spinning.

image

@rgrunber
Copy link
Member

Is this always reproducible ? Judging by your ~1k warnings / 96 infos that would appear to be JDT-LS loaded :P but I haven't yet reproduced it.

For the past while, any time the status bar was left spinning (with the suspicion that nothing is actually still running), it was some kind of failure above

activationProgressNotification.hide();
, which resulted in the notification not being properly hidden.

@testforstephen
Copy link
Collaborator Author

It's not consistently reproducible, I observed this behavior a few times in my daily work. BTW, I enabled the setting "java.showBuildStatusOnStart.enabled": "terminal" in my machine.

If I remember correctly, Java extension is supposed to display all progress message in the "Java Build Status" terminal rather than in the status bar. It should be a bug to show progress in the status bar.

And the activationProgressNotification is supposed to show as a notification instead of status bar as well.
image

@rgrunber
Copy link
Member

Found one example of this spinning behaviour (call hierarchy) at eclipse-jdtls/eclipse.jdt.ls#2827 , but haven't looked yet into some of the details of this specific issue.

@rgrunber
Copy link
Member

rgrunber commented Sep 6, 2023

Another example of spinning status bar seems to be caused by vscode-java-test through the delegate commands. See eclipse-jdtls/eclipse.jdt.ls#2821 (comment) for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants