Tooltip class in __init__.py is hardly usable

Bug #698058 reported by Märt Põder
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Screenlets
In Progress
Medium
Unassigned

Bug Description

1. It produces transparent tooltips, which make the text unreadable in some cases. See the screenshot of Feedreader attached.

2. Tooltip background color and style differs from system default. This is visually annoying and definitely not just a matter of taste.

Maybe there's some way to use default GTK tooltips instead of drawing them from zero.

Tags: tooltips
Revision history for this message
Märt Põder (boamaod) wrote :
Revision history for this message
Mostafa Razavi (elektito) wrote :

I have created a patch which I believe slightly improves the situation. Instead of directly drawing the text, I used a Label (actually, a slightly modified label from here: http://people.gnome.org/~gianmt/busybox.py). I'm relatively new to development on Launchpad, and I had difficulty finding the right procedure to propose my patch to be merged. So here it is. I hope it's some help.

The patch fixes the problem of transparent background, but the color is still the same.

Revision history for this message
Märt Põder (boamaod) wrote :

I committed the patch and added you to members of the Screenlets developers team in case you want to improve something directly. Since there is not much development in Screenlets by now, I think you don't really need to use different branches to merge the new code. Although it makes things a bit more clear. If you have any questions, just ask.

Changed in screenlets:
status: Confirmed → In Progress
Revision history for this message
Mostafa Razavi (elektito) wrote :

Great. Right now, I'm working on a better solution by looking at the GtkTooltip source code. If I'm successful, perhaps we can have more native looking tooltips. Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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