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

No tooltip shown when hovering over a terminal status #122427

Closed
egamma opened this issue Apr 27, 2021 · 11 comments
Closed

No tooltip shown when hovering over a terminal status #122427

egamma opened this issue Apr 27, 2021 · 11 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug file-decorations good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities insiders-released Patch has been released in VS Code Insiders verified Verification succeeded

Comments

@egamma
Copy link
Member

egamma commented Apr 27, 2021

Testing #122241

There is no tooltip over the terminal status e.g. , the other items have a tooltip. The tooltip could say 'Relaunch Needed'.

There also is no tooltip on the bell icon.

image

@meganrogge meganrogge added terminal-tabs bug Issue identified by VS Code Team member as probable bug labels Apr 27, 2021
@meganrogge meganrogge added this to the April 2021 milestone Apr 27, 2021
@Tyriar
Copy link
Member

Tyriar commented Apr 27, 2021

This also happens in SCM and explorer decorations, looks like it happens because the hover listener is on .monaco-icon-label-container and not .monaco-icon-label
image

Changing the container to its parent will end up breaking the actions:

image

this.setupHover(this.labelContainer, options?.title);

@Tyriar Tyriar removed this from the April 2021 milestone Apr 27, 2021
@jrieken jrieken added file-decorations good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities labels Apr 28, 2021
@luluyuzhi

This comment has been minimized.

@khoaleanhvn
Copy link

Anybody's working on this? If not, I will try.

@luluyuzhi

This comment has been minimized.

@Ashray123
Copy link
Contributor

Hello @jrieken, I would love to work on this issue if no one is working on it, could you provide a guide on what is to be done.

@Manish-Giri
Copy link

I would be happy to take this up. Looks like @Ashray123 has already requested to take up #124419, so this one should be available.

timfenney pushed a commit to timfenney/vscode that referenced this issue Jun 10, 2021
@timfenney
Copy link

This also happens in SCM and explorer decorations, looks like it happens because the hover listener is on .monaco-icon-label-container and not .monaco-icon-label
image

Changing the container to its parent will end up breaking the actions:

image

this.setupHover(this.labelContainer, options?.title);

Hey @Tyriar, I created the PR above, and didn't notice any broken actions on my branch. Do you mean that the other buttons won't work, e.g. for a Terminal session the 🗑️ ?

@jrieken
Copy link
Member

jrieken commented Sep 27, 2021

@alexr00 Looping you in to this. The decorations service properly passes on the title to the icon label but it seems that the title is only applied to the text node, not the entire label. I believe doing that would break the description title (of which @bpasero seems to be the only user) so I wonder what's best here? Should the title be set up for the whole element when there is no description or no description title?

@bpasero
Copy link
Member

bpasero commented Sep 28, 2021

I forgot why we added that for quick input, probably to avoid a hover when hovering over the label of a quick pick item but still show it when hovering over description which can be cropped.

Can we not put the hover over the entire thing if there is no description title otherwise?

@alexr00
Copy link
Member

alexr00 commented Sep 28, 2021

Should the title be set up for the whole element when there is no description or no description title?

This seems reasonable to me.

@rchiodo
Copy link
Contributor

rchiodo commented Sep 30, 2021

/verified

@rchiodo rchiodo added the verified Verification succeeded label Sep 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2021
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 file-decorations good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

12 participants