Wrong value set when changing the size of a horizontal (or vertical) line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Diederik van Lierop |
Bug Description
Create a small horizontal line, e.g. a 5 px long line of stroke thickness 1 px. Now change the length to 3 px by changing the W value (the width) in the GUI. The new width will not be 3 px as expected, but 3.175 px (when the scaling of the stroke width is turned off, the width will even be 3.4 px). In addition the X-position is changed, which is not expected.
I see this bug linked to Bug #165935. Note that contrarily to there not only lines with butt cap are affected but all caps.
Version: Inkscape 0.46 and 0.47pre3 on Windows
Personally I think Inkscape should measure the positions and widths *without* the stroke width, as does Corel Draw (and as far as I remember also Illustrator), which would save a lot of headache to both users and developers.
Changed in inkscape: | |
status: | New → Confirmed |
tags: | added: transformations |
Changed in inkscape: | |
importance: | Undecided → Medium |
tags: |
added: selection removed: ui-selection-group-layer |
Changed in inkscape: | |
assignee: | nobody → Diederik van Lierop (mail-diedenrezi) |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
> Personally I think Inkscape should measure the positions and widths
> *without* the stroke width
already implemented in 0.47pre: set the bounding box to 'geometric' in the 'Tools' preferences. The select tool controls bar shows the height and width of the bounding box of the selected object(s), not the length of a path segment.
Note: geometric bbox is currently limited in its usefulness for numeric entry of X/Y and H/W due to bug #190557. See also related bug #212768 “Geometric and Visual bounding box and object dimensions”.