Inset/outset step size change with page units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Alvin Penner | ||
0.92.x |
Triaged
|
Medium
|
Alvin Penner |
Bug Description
The Inset/Outset feature step size appears to depend upon the page unit system, rather than upon the value set in the preferences.
Tested on Inkscape 0.91 r13725. Present on both Mac and Windows
Steps to reproduce:
1. Open a new document with A4 size. (File> Templates > A4)
2. Open global preferences, set Inset/Outset step size to 1 px. Close preferences.
3. On the page, create a closed path, for example with the freehand (pencil) or circle tool.
4. Make that object a well-defined initial size. For example, 100 mm x 100 mm, with solid fill and no stroke.
Copy this object to the clipboard, for later use as well.
Select the object.
5. Use Path>Outset to increase the size of the object.
Expected behavior: Object is larger in both dimensions by approximately 2 px.
Actual behavior: object is larger, roughly 102 x 102 mm. (It appears to have been outset by 1 mm, not 1 px.)
6. Open a new document with Letter size (File > Templates > Letter)
7. Optional: Check preferences, note that Inset/Outset step size is still 1 px. Close preferences.
8. Paste object from clipboard, and select it.
9. Use Path>Outset to increase the size of the object.
Expected behavior: Object is larger in both dimensions by approximately 2 px.
Actual behavior: object is larger, roughly 150 x 150 mm. (It appears to have been outset by 1 inch.)
10. Create a new default document (File > New)
11 Optional: Check preferences, note that Inset/Outset step size is still 1 px. Close preferences.
12. Paste object from clipboard, and select it.
13. Use Path>Outset to increase the size of the object.
Expected behavior: Object is larger in both dimensions by approximately 2 px.
Actual behavior is as expected: object is larger, roughly 100.5 x 100.5 mm. (It appears to have been outset by 1 pixel.)
Similar behavior can be seen with the Inset feature.
Related branches
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
milestone: | 0.92 → 0.93 |
status: | Confirmed → Fix Committed |
tags: | added: backport-proposed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
IMHO this is not a bug.
Actually, the 'px' unit should be referred to as 'user unit' which is the document's default unit. Under this assumption the described behavior is correct.