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 555093 - GooCanvasTable redrawing problems when changing size
GooCanvasTable redrawing problems when changing size
Status: RESOLVED FIXED
Product: goocanvas
Classification: Other
Component: general
svn trunk
Other Linux
: Normal normal
: ---
Assigned To: goocanvas-maint
goocanvas-maint
Depends on:
Blocks:
 
 
Reported: 2008-10-05 13:11 UTC by Armin Burgmeier
Modified: 2008-10-12 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.17 KB, patch)
2008-10-05 13:12 UTC, Armin Burgmeier
committed Details | Review

Description Armin Burgmeier 2008-10-05 13:11:13 UTC
GooCanvasTable does not redraw correctly when its width or height is changed. Only the area covered by the children is redrawn, but not the whole table area itself, so grid lines are sometimes missing. Also, children are not correctly clipped to the table's new size when the table is shrunk (The child items are always fully visible, even if their bounds exceed the table's allocated size).
Comment 1 Armin Burgmeier 2008-10-05 13:12:11 UTC
Created attachment 119959 [details] [review]
Proposed patch

This patch fixes the mentioned problem, by using the same redraw semantics that GooCanvasItemSimple uses.
Comment 2 Damon Chaplin 2008-10-12 13:31:07 UTC
Committed. Thanks.