Community
Participate
Working Groups
When calling setTooltip on a section, the section should also update the toogle's tooltip so that the user also sees the tooltip when he hovers over the toggle hyperlink field. Are there any reasons against such behaviour?
Moving to forms team
I just tried calling setToolTipText on a Section and found that the tooltip shows when I hover the header, but not the title text or the toggle control. I'm not sure how useful it is to put a tooltip on the section (the title/description should be enough), but since the API is there we may as well make it work better. We should add the same tooltip to both the title text and the toggle link.
Proposed fix for this: https://git.eclipse.org/r/13157
Would it be possible to include this in 4.3.1? The fix is simple and I plan to add some tooltips to the sections of the Git Staging view (Unstaged/Staged Changes).
Sure. PW
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=94fa45abcc62c6cb4ae4cf3f0bd6fc127328da1d Thanks Robin. PW
(In reply to comment #4) > Would it be possible to include this in 4.3.1? The fix is simple and I plan > to add some tooltips to the sections of the Git Staging view > (Unstaged/Staged Changes). FYI: Using tool tips on larger areas/forms is usually not a good thing (e.g. it's discouraged on the preference pages). If the info is really needed, it should always be visible and otherwise be put into the F1 help.
(In reply to comment #7) > (In reply to comment #4) > > Would it be possible to include this in 4.3.1? The fix is simple and I plan > > to add some tooltips to the sections of the Git Staging view > > (Unstaged/Staged Changes). > > FYI: Using tool tips on larger areas/forms is usually not a good thing (e.g. > it's discouraged on the preference pages). If the info is really needed, it > should always be visible and otherwise be put into the F1 help. I was thinking about adding something like "Drag to Staged Changes to stage for commit, drag to editor area to open" as tooltip on "Unstaged Changes". It should only be shown when hovering over the title text or the rest of the section header, so the area would not be bigger than, say, a checkbox label. Would that be considered a bad thing? There's not enough space to always display it, and I don't know if anyone will press F1 there.
(In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #4) > > > Would it be possible to include this in 4.3.1? The fix is simple and I plan > > > to add some tooltips to the sections of the Git Staging view > > > (Unstaged/Staged Changes). > > > > FYI: Using tool tips on larger areas/forms is usually not a good thing (e.g. > > it's discouraged on the preference pages). If the info is really needed, it > > should always be visible and otherwise be put into the F1 help. > > I was thinking about adding something like "Drag to Staged Changes to stage > for commit, drag to editor area to open" as tooltip on "Unstaged Changes". > It should only be shown when hovering over the title text or the rest of the > section header, so the area would not be bigger than, say, a checkbox label. > > Would that be considered a bad thing? I'd say so, especially because the hit area is quite big. Users would get the hover often without a way to get rid of it once they know about the feature. > I don't know if anyone will press F1 there. Probably not, but I guess lots of people try DnD already without the hint. We usually but such info into our Tips & Tricks document.