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

Long legend tooltip is jumping making it difficult to highlight needed terms #11641

Closed
Funbit opened this issue May 6, 2017 · 9 comments · Fixed by #11910
Closed

Long legend tooltip is jumping making it difficult to highlight needed terms #11641

Funbit opened this issue May 6, 2017 · 9 comments · Fixed by #11910
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features good first issue low hanging fruit v6.0.0-alpha2

Comments

@Funbit
Copy link

Funbit commented May 6, 2017

Kibana version: 5.4.0
Elasticsearch version: 5.4.0
Browser version: Opera 44, Chrome 58
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): yum
Description of the problem including expected versus actual behavior:

One animated GIF will explain the problem much better than hundreds of words:
kibana-tooltip-jump

If legend has long labels trimmed with the "...", the tooltip, appearing on mouse hover, is "jumping", forcing scrollbars to appear/disappear and making it very difficult to navigate/highlight desired terms (the bars don't get highlighted even if the cursor is above the term).

This problem is definitely not new, I think it's been in Kibana from 5.x or so (maybe even older). I've been checking every update hoping that it's fixed, but unfortunately it's here even in 5.4.0..

Is there a way to fix that behavior? I would be satisfied even by a global Kibana setting to disable legend tooltips at all (i.e. show full caption only on click).

Thanks.

@stacey-gammon stacey-gammon added Feature:Dashboard Dashboard related features :Sharing bug Fixes for quality problems that affect the customer experience labels May 8, 2017
@stacey-gammon
Copy link
Contributor

We should investigate a fix for this, but as a temporary workaround, you might be able to place the legend position on the bottom (it's in Panel Settings in the Visualize app).

Looks like they are still getting truncated on the bottom, but perhaps you won't get the jumpy scroll bars. Let me know if that helps.
screen shot 2017-05-08 at 9 23 25 am

@Funbit
Copy link
Author

Funbit commented May 8, 2017

Thanks for the tip. Unfortunately, the workaround with the bottom legend position helps only with horizontal scroll bars. If I move cursor to the very bottom captions (when tooltip gets truncated) browser still keeps popping vertical scroll bars.. Also, with the bottom captions the dashboard will occupy much more space. I think having an option to disable tooltips would be better (if it's difficult to fix the root of the problem on the CSS/HTML level).

@Funbit
Copy link
Author

Funbit commented Jul 26, 2017

Can somebody explain in which Kibana version this issue is fixed?
I've just upgraded to the 5.5.1 and it's still there. I can't understand how this problem can be "low fruit", it makes the dashboard unusable...

@stacey-gammon
Copy link
Contributor

You are right @Funbit -- Looks like somehow this issue which was fixed at some point has appeared again, at least I can confirm it exists in 5.5.1 where it should be fixed.

Re-opening.

cc @elastic/kibana-visualizations @nreese

@stacey-gammon stacey-gammon reopened this Jul 26, 2017
@stacey-gammon
Copy link
Contributor

Can you explain @Funbit how it makes the dashboard unusable for you? While it is annoying, in my testing, there is a workaround if you wiggle the mouse over the legend value you wish to highlight then it will refocus correctly. I just want to be sure I am fully understanding the issue.

legend_highlight_issue

@nreese
Copy link
Contributor

nreese commented Jul 26, 2017

This issue was fixed by PR #11910 and that was never back-ported to 5.x.

@stacey-gammon
Copy link
Contributor

Ah, thanks for the update @nreese, I'll go ahead and close again and remove the 5.0 tag. At this point, I'm not sure there is another 5.5.x coming, so may not be worth it to backport now.

@Funbit
Copy link
Author

Funbit commented Jul 26, 2017

Well, I think the original topic explains the problem, but I will try to elaborate the issue:

First of all, short captions - no problems. One could think that everything works ideally:
nojumping

But when captions are long (and I'm now talking about awkwardly long ones, URLs etc), like in the animation below, everything starts to dance like crazy when mouse moves over, causing the following problems:

  • when I move mouse over a caption, sometimes corresponding bars don't get highlighted (see "UnauthorizedAccess..." in the GIF)
  • horizontal scrollbar appears just to show the caption tooltip... leading to unnecessary chart resizing and refreshing, slowing down the performance
    jumping

The ideal solution, at least for me, would be an option in the Kibana settings to disable the caption tooltips at all. They are pretty useless anyway, because it's much easier to click on the caption to see the hidden part, select it, copy to clipboard (!), etc...

I'm not sure, maybe I'm too meticulous.. (I'm a perfectionist by nature), but all my teammates agree that the current caption tooltip implementation is not good.

@jrumbinas
Copy link

jrumbinas commented Oct 4, 2017

Additionally, I'm unable to view the tootlip for the few last items
6zemgmvz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features good first issue low hanging fruit v6.0.0-alpha2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants