Bug 1273907 - tooltips in webadmin shouldn't have fixed width
Summary: tooltips in webadmin shouldn't have fixed width
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-4.0.0-alpha
: ---
Assignee: Greg Sheremeta
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-21 13:24 UTC by movciari
Modified: 2016-03-16 19:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-16 19:38:09 UTC
oVirt Team: UX
Embargoed:
ecohen: ovirt-4.0.0?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description movciari 2015-10-21 13:24:07 UTC
Description of problem:
New tooltips in RHEVM-3.6 have fixed width.
This is a problem when you want to see some tooltip with long text in it - since it's very narrow, it has to be very high - often so high it doesn't fit inside the browser window on fullHD display.
In case there's too much content in tooltip, its width should be dynamically changed in order to achieve reasonable height.
If we can't fit all the text inside the tooltip of reasonable size, it should display the beginning and end of text, omitting some part in the middle - unlike current implementation of tooltips, which only allows you to see the bottom of tooltip, because top part doesn't fit inside the screen

Version-Release number of selected component (if applicable):
3.6.0-0.18.el6

How reproducible:
always

Steps to Reproduce:
1. Make installation of a host fail because of missing rpm dependencies
2. Go to events tab, or host's event subtab
3. Find line that says: Failed to install Host host1 Failed to execute stage 'Package installation': [u'Errors were encountered while downloading...
4. Leave your cursor on that line to see the tooltip

Actual results:
Tooltip doesn't fit inside the screen

Expected results:
Tooltip should always fit inside the screen

Additional info:
There are probably some other tooltips that don't fit the screen

Comment 1 Einav Cohen 2015-10-22 12:24:51 UTC
*** Bug 1235784 has been marked as a duplicate of this bug. ***

Comment 2 Vojtech Szocs 2015-10-23 16:11:19 UTC
One solution is to use fixed CSS max-width - limit tooltip's horizontal size and allow the vertical size to grow.

Comment 3 Greg Sheremeta 2016-03-16 19:38:09 UTC
Tooltips have a fixed with by design (part of PatternFly).

If there are specific places they need to be widened, please open bugs on those. We can widen something up to 620px if needed. If that's not enough, I have to question whether the value belongs in a tooltip.


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