After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 631614 - Should document the need to set "has-tooltip" on GooCanvas
Should document the need to set "has-tooltip" on GooCanvas
Status: RESOLVED FIXED
Product: goocanvas
Classification: Other
Component: documentation
unspecified
Other Linux
: Normal normal
: ---
Assigned To: goocanvas-maint
goocanvas-maint
Depends on:
Blocks:
 
 
Reported: 2010-10-07 14:51 UTC by Will Thompson
Modified: 2011-09-01 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Document the need to set :has-tooltip on the Canvas (1.05 KB, patch)
2010-10-07 14:55 UTC, Will Thompson
none Details | Review

Description Will Thompson 2010-10-07 14:51:51 UTC
I couldn't figure out why setting "tooltip" on my canvas items wasn't working. After playing around to see if it was a problem with grouping of items inside tables, I eventually noticed that demo.c explicitly sets "has-tooltip" on the GooCanvas widget to TRUE.

I think that in an ideal world this would happen automatically, but I can see that the cost of propagating “hey, something in the canvas has a tooltip on it!” around is probably not worth it compared to the developer setting "has-tooltip". So, I think this requirement should be documented.
Comment 1 Will Thompson 2010-10-07 14:55:50 UTC
Created attachment 171901 [details] [review]
Document the need to set :has-tooltip on the Canvas
Comment 2 Will Thompson 2010-10-07 14:56:53 UTC
This patch is against goocanvas-1.0. I don't know if any more releases are planned from that branch.
Comment 3 Damon Chaplin 2010-10-09 12:22:44 UTC
Yes, that looks helpful. I'll apply it to all the branches. Thanks.
Comment 4 Murray Cumming 2011-09-01 12:58:08 UTC
Pushed to the master and goocanvas-1.0 branches. I guess Damon forgot to.