The sizes of a shape are not consistent in Controls Bar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The problem arises when draw a shape with stroke. For example:
1. Draw a rectangle with 1px stroke.
2. While rectangle tool is selected, set the sizes (W: and H:) in Controls Bar to 30 mm.
3. Choose the Selector Tool.
The sizes displayed in Controls Bar are 30,282 mm.
If I'm converting this object using the "Stroke to Path" function, the sizes displayed are 30,277 mm. So, which are the right sizes?
I'm supposing the second measurement (30,282) includes half of the stroke width converted in mm, but then I don't understand why changing the shape to path gives me 30,277.
Anyway, is a good thing to have sometimes the possibility to see the size including the stroke width, BUT, I'd like to have a toggle button in Controls Bar to switch the dimensions displayed with/without stroke width.
(Inkscape 0.46, WinXP SP2)
description: | updated |
tags: | added: ui ui-selection-group-layer |
Changed in inkscape: | |
status: | New → Confirmed |
status: | Confirmed → Fix Released |
Changed in inkscape: | |
status: | Fix Released → Confirmed |
You can change the way the bounding box is calculated in the preferences:
'File > Inkscape Preferences > Tools': toggle 'Bounding box to use' to 'Geometric bounding box'
In Inkscape 0.46+devel r22062 the width shown in the select tool controls bar correctly reflects the selected method to calculate the bounding box (Inkscape 0.46 seems to always show the value of the visual bbox width in the controls bar).
- Visual Bbox: width includes stroke
- Geometric Bbox: width excludes stroke i.e. x-, y-distance between the outermost nodes in the selection
Proposing to close this report as fixed, though I don't know when this change was committed.