On 2013-10-01 02:10 +0200, Krzysztof KosiĆski wrote:
2013/9/30 Johan Engelen <jbc.engelen@...2592...>:
I assume this applies to the other "generated" shapes too? (ellipse, star,...)
Yes.
However, I found a much simpler solution that does not involve touching the shape code. We simply need to update the children of the group before updating the group itself. The fix is in r12643.
If there is any other object that updates its children after updating itself, it is also broken and needs to be fixed.
Assuming that later revisions 12645, 12647 and 12648 are all somewhat related to the same rendering/update problems:
With latest builds, why are lots of these warnings:
WARNING **: bbox unset when picking
generated when hovering an object if an empty layer (group) is present and visible (empty layer group has to be lower in z-order than the hovered object)?
Steps to reproduce: 1) launch current trunk (default prefs, default new doc) 2) add a new layer 3) draw a shape on the new layer 4) move the cursor over the canvas, watch console --> warning is generated whenever cursor is over a selectable object 5) hide 'Layer 1' (empty) --> warnings stop
Related code: http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/annotate/head:/src/display/drawing-item.cpp#L748