Use Tooltips from GTK

Bug #1082968 reported by Danielle Foré
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Pantheon Dock
Fix Released
Wishlist
Rico Tzschichholz
Plank
Fix Released
Wishlist
Rico Tzschichholz

Bug Description

We should use tooltips from GTK3 for consistency with the rest of the system (or at least use the same CSS style) instead of having a separate tooltip theme.

Related branches

affects: pantheon-dock → plank
Robert Dyer (psybers)
Changed in plank:
importance: Undecided → Wishlist
Changed in plank:
milestone: none → isis-beta1
Changed in pantheon-dock:
milestone: none → isis-beta1
Changed in plank:
milestone: isis-beta1 → none
Changed in pantheon-dock:
importance: Undecided → Wishlist
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

This is not really possible without giving up the positioning above the items. The best we could do here is to mimic the gtk-tooltips, use the styleclass-themed drawing and drop our "hover.theme"

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I have played a bit with it and this small screen-cast shows how this would look like with the elementary theme.

Changed in pantheon-dock:
status: New → In Progress
Changed in plank:
status: New → In Progress
Changed in pantheon-dock:
assignee: nobody → Rico Tzschichholz (ricotz)
Changed in plank:
assignee: nobody → Rico Tzschichholz (ricotz)
milestone: none → 0.4.0
Changed in plank:
status: In Progress → Fix Committed
Changed in pantheon-dock:
status: In Progress → Fix Committed
Revision history for this message
Ari (ari-lp) wrote :

I like the new tool-tips but they are taking up a bit too much space for my taste. More importantly, they don't scale with the dock (or icon) size, which makes them look ridiculously large on smaller screens. (To be honest, I don't know if the old ones did that, but it sure is more noticeable with the new ones).

Do you think it might be feasible to implement a way to control the tooltip size or the spacing? Maybe even to disable tooltips completely?

Revision history for this message
Robert Dyer (psybers) wrote :

Since it is the standard GTK theming, you should be able to control how they look by modifying your own gtkrc file.

Revision history for this message
Ari (ari-lp) wrote :

@psybers:

That would be a system-wide change, though, right? I think the tooltips look fine in other applications but with plank something just feels off about the size.

Initially I thought there was an actual difference in size and spacing between the tooltips in plank and other programs but as you can see in the attached screenshot that's not the case.

I suppose I just have to work with the new tooltips for a while. They might even grow on me.

It would be nice to have an option to turn the tooltips off, though.

Revision history for this message
Robert Dyer (psybers) wrote :

I haven't played with gtkrc before, but my understanding was you could make changes on a per-app basis. I don't know how, but I know I saw someone mention that in regards to the padding on indicators in Ubuntu before so I think it is possible.

Changed in pantheon-dock:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in plank:
status: Fix Committed → Fix Released
Revision history for this message
ArtKun (artkun) wrote :

Just upgraded Plank in my Luna Stable installation. I agree that new tooltips take too much space, and I think bold fonts looked better in this case.

Changed in pantheon-dock:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.