Just leave it on the counter

I’d like to expand a bit on one of the Fedora 12 polish items Matthias already blogged about.  Better Tooltips.

As most of you know, tooltips are the little window-like pop-ups that (hopefully) provide helpful information about a user interface element (widget, control, etc) as you hover over it.  It seems to me they were originally used to provide textual assistance for the case where the user is unsure what a tool will do when activated.  And were particularly useful when the tool had no intrinsic text.  However, since then their use has expanded and become more generalized.  They are used for quite a few different things today and can contain more than simple text.

Now granted, you have probably never been consciously annoyed by tooltips.  More likely you haven’t really thought a lot about them at all.  But that doesn’t imply there is no room for improvement.  I spent a few hours examining my own interactions with tooltips and I came up with a few things that bothered me.  These basically fall into the categories of: color, shape, and position.

The issues with color and shape are fairly obvious.  Yellow! boxes!  right out of the mid 90s.  The issues with positioning are a bit more subtle.

Before

Notice how the tooltip:

  • Obscures what you are looking at
  • Gets all up in your shit
  • Does not appear in a stable position
  • Appears to be more closely associated with the pointer position than the thing that is providing the tip

How about something like…

After

Niiice!

Thanks Matthias.

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

31 Responses to Just leave it on the counter

  1. Mike says:

    That is really cool :)

  2. Simon says:

    Looks like a good improvement. As a non-Fedora user though, can you tell me if the patches for this are likely to be going upstream, or if not, where I can get them from?

  3. Søren says:

    Simply disabling all tooltips would probably be an improvement for almost all users.

  4. Markus says:

    Tooltips obscuring what I’m looking at has really bothered me. This is excellent work! Thanks!

  5. Dextro says:

    I just wish I could get those popups using the shiki theme…

  6. tHylke says:

    Though the transparency on the new one may look nice, it ‘t make the reading easier. Also the new blue cooler blurs in the tooltip with the window, which makes it harder to spot.

  7. ebassi says:

    @simon: the patches have already been filed upstream by mclasen, but arrived a little to make 2.18. they will be in the next release, though, as soon as they’ll be reviewed and discussed.

  8. Bastien says:

    Except that this doesn’t work well when reading menus, because it obscures the item lower down the list… Still something to look at.

  9. Placement is an improvement for sure but why on earth change the color? Yellow did a great job at standing out against most backgrounds.

  10. Tim says:

    I saw some screenshots on some Fedora blog showing these off with transcluency and I thought they looked awesome but now that I seem the next to the old ones I can’t help but notice that the new ones don’t have the nice contrast that black on yellow has.

    I am not saying the old ones are good, but the new ones are less readable, although the admittedly look better.

  11. Tom says:

    Nice stuff, I especially like the new placement algorithm!

    On the down side, this new look does not seem to work in all cases:

    – sometimes a shadow is drawn which makes the corners look ugly
    – rounded corners and transparency do not work in firefox

  12. I know this is some major bikeshedding, but I really like them yellow …

  13. Tim says:

    Awesome idea. But I like the yellow!

  14. Pingback: Javier Ercilla (xvi82) 's status on Monday, 02-Nov-09 01:08:25 UTC - Identi.ca

  15. David says:

    Excellent points. I believe the reason for placing the tooltip near the cursor is because that is where the user’s attention is. The object the tooltip describes, on the other hand, can be fairly large, pushing the tooltip too far for the user to notice. That said, I agree that the current simple placement is not always ideal.

    I would add a few more areas for improvement. First, tooltips are generally small and do not provide much helpful information. Office 2007’s ‘Super Tooltips’ are a good example of tooltips that aim to be much more useful. A second improvement would be to make tooltips clickable. Once that is possible, tooltips can become a lot more helpful and interactive, thus obviating the need to hide features and information in contextual menus and elsewhere. This is a common technique in Ajax applications, but not so on the Desktop.

  16. pt says:

    you should make the text of the tool tip color more grey like #444

  17. anonymous says:

    I would love it if, similar to David’s suggestion about Office tooltips, GNOME tooltips also showed the keyboard shortcut inside them if a shortcut is linked to a function.

    “Cut – Move text to paste it elsewhere (Ctrl-C)”.

    Tooltips that provide keyboard information would be awesome. It makes things much more discoverable, rather than hunting through menus for a function that you like.

    May not be possible: I know that OS X API has some way of linking shortcuts, menu entries, and toolbar buttons together programmatically. GTK may not be nearly that flexible.

    Also, I heard of some deprecated GNOME HIG clause that said any toolbar button should -not- have a menu entry or keyboard shortcut (since those would be redundant). Sounds like horrible policy, but that would obviously not work with this idea.

  18. ak says:

    Yellow is much better, it stands out from the background.

  19. I actually do prefer the yellow tooltips a little better – much better contrast than the blue. At least, you should make the shade of blue you’re using a bit lighter.

    And there’s nothing wrong with tooltips being yellow – they are in Mac OS X, and that’s the best designed user interface there is.

  20. Mathias says:

    The old one is not yellow and I guess the new one is not blue either… the color is decided by your gtk theme.

    I think it is great that this is looked into, a few more iterations and I think the new one could be superior in all aspects.

  21. Dude, my tooltips are gettin’ all up in my shit! :)

    Nice design, should be themable also, I like it though, stops the tooltips gettin’ all up in my shit.

  22. Mathias says:

    The entire look should in fact be themable i think, just like with other widgets. I don’t know how the round corners are implemented now, but they would not go well with a square gtk theme.

  23. Naresh V says:

    Yellow is essential in providing a clear contrast to the used theme (nobody uses a yellow-theme).

    It’s the same reason why DVD subtitles are often in yellow – to stand out in those short momentary spurts. One doesn’t always hover the mouse over an icon – it’s something momentary – and the tooltip should try its best to stand out as much as possible.

  24. maxauthority says:

    Nice work (both on the positioning and on the color – especially that slight transparency rocks!), just can hope it gets upstream soon, so i can enjoy it on ubuntu as well.

  25. Zack says:

    I’m all for better positioning, but I prefer yellow to blue, and for the love of God, MAKE THEM OPAQUE AGAIN. Text on a transparent background over more text (which it usually will be) is the worst thing ever.

  26. seb says:

    Awesome, I like the positioning, very good. At first I could not spot the difference, only the colour one. Then I read the text.

    I don’t think these tooltips should have a transparent background and I would prefer the yellow background. Both because they need to stand out.

    One thing the new algorithm needs to show is how it will handle large buttons – where will the tooltip go? Will it be to far from the cursor?

    As others mentioned I would like to see keyboard shortcuts shown in the tooltip

    Cheers

  27. I have to agree that yellow was actually a very good colour. With your theme the blue of the tooltip is hard to pick out against the grey of the toolbar.

    Positioning is definitely better though.

  28. Pingback: Bognár András (bognarandras) 's status on Thursday, 05-Nov-09 16:06:02 UTC - Identi.ca

  29. Thanks says:

    I had exactly the same idea in my mind.

  30. P Diddy says:

    To be honest, the yellow tooltips look far better to me. Microsoft chose yellow for a reason, and also made the position relative to the mouse pointer rather than the object for a reason.

    The contrast is better with the yellow, and the text doesn’t get lost among the text of the tab labels as it does in your ‘blue’ example, especially with the addition of opacity.

Comments are closed.