Skip to content

fix: Java build status spinning forever#2214

Merged
fbricon merged 1 commit intoredhat-developer:masterfrom
Eskibear:fix-spin
Nov 17, 2021
Merged

fix: Java build status spinning forever#2214
fbricon merged 1 commit intoredhat-developer:masterfrom
Eskibear:fix-spin

Conversation

@Eskibear
Copy link
Copy Markdown
Contributor

To fix microsoft/vscode-java-pack#769

Signed-off-by: Yan Zhang yanzh@microsoft.com

Signed-off-by: Yan Zhang <yanzh@microsoft.com>
echo: false,
focus: false
};
presenterTask.isBackground = true;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When was this introduced in the API? Asking to know if this'll work in theia

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think isBackground has been around for a while, and supported by Theia ( https://che-incubator.github.io/vscode-theia-comparator/status.html ). However, I'm guessing the terminal only recently started using the property to determine whether to have a spinning icon beside the terminal label ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isBackground was introduced four years ago, since this task is long-running, I believe it's correct to mark it as isBackground.

I'm guessing the terminal only recently started using the property to determine whether to have a spinning icon beside the terminal label ?

Yes, I tried some previous version e.g. 1.50 as below, there's no visualization of the state at that time, and terminals are in dropdown menu... It has been visualized since vscode refine the terminal UX to present all terminals together.
image

@rgrunber
Copy link
Copy Markdown
Member

Theia doesn't show a spinning icon for the terminal at all and when installing vscode-java with this change in Theia, I see no visible difference, so it should be safe. I think this is more because Theia doesn't have a view that displays all terminals at once, but instead allows a user to select them from the command palette. I think this should be fine to merge.

@fbricon fbricon added this to the Mid November milestone Nov 17, 2021
@fbricon fbricon added the bug label Nov 17, 2021
@fbricon fbricon merged commit b4f8b07 into redhat-developer:master Nov 17, 2021
@fbricon
Copy link
Copy Markdown
Collaborator

fbricon commented Nov 17, 2021

Thanks @Eskibear!

@Eskibear Eskibear deleted the fix-spin branch November 18, 2021 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

icon in "Java Build Status" spinning forever

3 participants