Bug 1370217 - sparkline tooltip splits into 2 lines
Summary: sparkline tooltip splits into 2 lines
Keywords:
Status: CLOSED DUPLICATE of bug 1347238
Alias: None
Product: ovirt-engine-dashboard
Classification: oVirt
Component: General
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vojtech Szocs
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-25 14:36 UTC by Lucie Leistnerova
Modified: 2016-08-26 12:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-26 12:40:22 UTC
oVirt Team: UX
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
sparkline tooltip 2 lines (17.89 KB, image/png)
2016-08-25 14:36 UTC, Lucie Leistnerova
no flags Details

Description Lucie Leistnerova 2016-08-25 14:36:37 UTC
Created attachment 1194050 [details]
sparkline tooltip 2 lines

Description of problem:
If hour in sparkline tooltip has 2 digits, tootlip splits into 2 lines.

Version-Release number of selected component (if applicable):
ovirt-engine-dashboard-1.0.2-1.el7ev.x86_64

How reproducible: unknown


Steps to Reproduce:
1. log into admin portal
2. need running VMs, that generate some usage
3. see Dashboard, if the sparkline values are > 0, move the mouse over it

Actual results: if the hour in tooltip has 2 digits but with unknown exact conditions, it splits into 2 lines, see attachment


Expected results: all tooltips are only in 1 line


Additional info:
Strange behavior on CPU sparkline, where I have most of the values = 0%, the last value is also 0, but before that there are 2 values that are shown as > 0 on the sparkline. In this case if I move the mouse from left to right, tooltips are always in 1 row. But when I move mouse from right to left it is in 2 lines.

I can't figure out on which exact conditions the tooltip splits.

tested in Firefox 47.0

Comment 1 Vojtech Szocs 2016-08-26 12:40:22 UTC
(In reply to Lucie Leistnerova from comment #0)
> Additional info:
> Strange behavior on CPU sparkline, where I have most of the values = 0%, the
> last value is also 0, but before that there are 2 values that are shown as >
> 0 on the sparkline. In this case if I move the mouse from left to right,
> tooltips are always in 1 row. But when I move mouse from right to left it is
> in 2 lines.

Nice catch! I've noticed the same behavior when looking into this bug.

I wasn't sure what exactly triggers the wrapping, however this was fixed by preventing text to wrap in bug 1347238 so I'd say it's fixed.

*** This bug has been marked as a duplicate of bug 1347238 ***


Note You need to log in before you can comment on or make changes to this bug.