Red Hat Bugzilla – Bug 1273907
tooltips in webadmin shouldn't have fixed width
Last modified: 2016-03-16 15:38:09 EDT
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):
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
Tooltip doesn't fit inside the screen
Tooltip should always fit inside the screen
There are probably some other tooltips that don't fit the screen
*** Bug 1235784 has been marked as a duplicate of this bug. ***
One solution is to use fixed CSS max-width - limit tooltip's horizontal size and allow the vertical size to grow.
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.