Univention Bugzilla – Bug 36771
grid tooltips are aggressive
Last modified: 2015-08-06 17:54:48 CEST
The tooltips in the computerroom module grid are aggressive and disturbs the context menu actions.
This is annoying but it only happens, when the cursor is on the hostname field. It does not happen, if the cursor is e.g. on the username field. → Workaround: press right mouse button on the user name field
This should be a generic UMC issue.
Screenshot?
(In reply to Alexander Kläser from comment #3) > Screenshot? The tooltips are working normally but are popping up quite fast and are positioned below the currently selected line. So the tooltip is overlaying the following lines in the grid. When moving down to the next grid line, not the line but the tooltip of the previous line is selected → the tooltip does not disappear. I think the tooltips should be shown left/right of the selected line.
Another example is the upload widget in the distribution module.
Created attachment 6797 [details] tooltip while adding uvmm iso image The tooltip also is in the way when selecting an ISO image in uvmm. Screenshot attached
*** Bug 36461 has been marked as a duplicate of this bug. ***
Created attachment 6805 [details] tooltip @school file upload button This also applies to the "Upload" button of the "Distribute materials" module in UCS@school. The button is almost completey covered by a tooltip (screenshot attached). In a UCS@school workshop today, 3 out of 5 attendees had quite some trouble to add files at all (clicking three times on the button/tooltip fast enough seems to work somehow). A fourth attendee gave up.
Is also mentioned at Ticket#2015051321000257.
I changed the behaviour of the tooltips, they will no longer automatically pop up. To display a tooltip the new tooltip icon must be clicked. Also added a test site for the tooltip wich is still work in progress.
Created attachment 7021 [details] Screenshot
(In reply to Florian Best from comment #11) > Created attachment 7021 [details] > Screenshot Some content is stripped. The tooltip for the edit button if also not really nice.
Tooltips were displayed for hidden labels, this is now fixed. Changes have been merged to 4.1-0 branch.
There are no tooltips on hover anymore for the mentioned buttons.
Restored old tooltip style for buttons, all other tooltips will default to new style. Old style can be used if falg 'usesHoverTooltip' is set on widget.
Fixed a missing flag which resulted in tooltips not beeing displayed for some buttons
I updated the test html page and observed the following misbehavior: * 1st MultiInput: adding a new entry does not show a tooltip. * 2nd MultiInput: the first field of the first entry does not obtain the description of the subtype. * 2nd Uploader: without label, the tooltip should be bound directly to the upload button. * Should not the tooltip node disappear if the label/description is set to an empty value? * Button: tooltip should be bound directly to the button itself. univention-management-console-frontend (4.1.106-81): r62483 | Bug #36771: updated tooltip test page
All issues have been addressed, button and uploader will now handle the tooltip on their own.
Looks nice, cool! One little think that I spotted, if I set the description to "", the previous tooltip is still shown for the Uploader/Button widgets.
I guess a CSS rule similar to the following is missing to fix a right alignment of the tooltip: .dijitTooltipABRight .dijitTooltipConnector { right: 4px; }
The version 4.1.106-85.1082.201507311156 seems to be broken, as dojo.js is empty. This is due to the comma after _setDescriptionAttr() in Button.js. Can you please rename tooltip to _tooltip in Button/Uploader.
I removed the ',' so build should be fine. CSS rule has been added. in addition setting the description of tooltips for uploader and button should work correct now.
(In reply to Drees Dormann from comment #22) > I removed the ',' so build should be fine. OK! > CSS rule has been added. OK, cool! > in addition setting the description of tooltips for uploader and button > should work correct now. Nope :) . I debugged the Tooltip class a bit. You do not need to destroy the tooltip, instead, simply set its label to '' and it will not show up anymore. It seems that the registration mechanism even after destroying a tooltip is still working.
Uploader and button widget have been adapted
(In reply to Drees Dormann from comment #24) > Uploader and button widget have been adapted OK, this looks fine now. I think we need to adapt the padding for checkboxes, but let's do this in a next step. → VERIFIED
<http://errata.univention.de/ucs/4.0/268.html>
<http://errata.univention.de/ucs/4.0/266.html>