Description of problem:
Tooltips across clickable buttons in the application provide exact same text as the button text itself
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Navigate into any tab in the application and hover over the various clicable buttons (for example: New or Edit under the Data Centers tab)
The tooltip text is identical to the button text across the application
The tooltip should provide a more detailed text whenever possible, making user selections clearer
should be an effort across all teams.
@Vojtech/Alex/Greg: do we have an infrastructure for setting a tool-tip and a (separate) text for an action button?
We do, but since we don't have any actual descriptions, the default is to set the tooltip (the title) to the text of the button if no other tool tip is provided. This happens 99% of the time, we have some icon only buttons that have some explanation text.
(In reply to Alexander Wels from comment #2)
> We do, but since we don't have any actual descriptions, the default is to
> set the tooltip (the title) to the text of the button if no other tool tip
> is provided. This happens 99% of the time, we have some icon only buttons
> that have some explanation text.
we should probably not do that - the title of the button should probably be empty.
if relevant - we should maybe set the 'alt' property of the button to be copied by default from the button-text value ['alt' is for text displayed instead of an object (typically an image, so not sure if applies for buttons, especially text-buttons), and 'title' is for displaying something in addition to an object, typically in a tool-tip, so no reason to duplicate the button-text to the 'title'].
Greg - what is the exact status in the application with regards to tool-tips over action buttons? from what I can see, there are no tool-tips on action buttons at all, including iconized ones (i.e. 'run VM')?
[clearing double needinfo]
The buttons used to set the tooltip to the exact same text as the button title. However, for icon-only buttons, the title was hidden.
So, for icon-only buttons, this worked nicely. For everything else, tooltips == button title, which was undesirable.
I've added support to the buttons for setting a tooltip manually in the same fashion as everything else. https://gerrit.ovirt.org/#/c/39067
... and I previously removed the automatic setting of tooltip = title that was the subject of this bug.
Should be all set now.
Now the are almost no tooltips, only on buttons with some icon in it. Which is in my opinion wrong for VMs tab - Disks subtab buttons Activate/Deactivate (same tooltip as text).
Would be nice to have some more tooltips about what a button does.
> VMs tab - Disks subtab buttons Activate/Deactivate (same tooltip as text).
Good catch. Will fix, thanks!
> Would be nice to have some more tooltips about what a button does.
Feel free to open an RFE for the ones you think need it. It's outside of the scope of this bug.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.