Comment 2 for bug 452102

Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.46+devel r22465 on OS X 10.5.8: the unexpected change of the x-coordinate when changing the width of the path bounding box (geometric h=0) in the select controls bar. Bounding box is set to 'visual'. This similar to bug #190557 and seems to be a random fraction. It doesn't happen if changing the bbox width by dragging its handles on canvas (except during dragging - which is a known effect, see bug #174046) nor when changing the width of e.g. a rectangle (geometric h≠0).

OTOH the addition of twice half-the-stroke-width to the width is not a bug but the logical consequence of the visual bounding box: When drawing the line with usual snapping modes and (I assume) visible grid, the nodes are snapping to the grid. The length of the segment thus is a multiple of the visible grid spacing, the visual bbox width is the length+2*(stroke-width/2) when scaling of stroke-width is off. (draw a path/line with length 40 px and set the stroke-width 10px to clearly see the effect visualized at each end node. Then change bbox to geometric, de- and re-select the path and compare the bounding box).