Guides/Grids/3D Box Tool should use 'user units'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Tavmjong Bah | ||
0.91.x |
Fix Released
|
High
|
Tavmjong Bah |
Bug Description
Guides, Grids, and the 3D Box tool should use 'user units'.
For the rational, see:
http://
Guides and the 3D Box tool already use user units in trunk (0.92). This code should be back ported to 0.91 (patch attached). This is especially important for the 3D box tool as boxes will change shape and position between 0.91 and 0.92 without the back port. This is also important for guides as a typical drawing has multiple guides which resetting by hand could be tedious. As 0.48 templates mostly used width/heights in pixels ('user units') there should be little fallout when users move from 0.48 to 0.91.
Grids are a bit more problematic as they use 'absolute' units ('mm', 'in', etc.) and are defined relative to the drawing size. While fixing this is highly desirable, it is not as crucial as drawings usually contain only one grid so correcting a grid by hand is not as tedious. We could wait until 0.91.1.
The ultimate grid fix requires:
1. Using only 'user units' (not using 'absolute' units).
2. Converting already existing grids with 'absolute' units to 'user units'
3. Changing the grid 'unit identifier' to work the same was as 'display-unit' (i.e. so it effects the GUI only).
For test files, see:
http://
To test:
Guides:
1. Open a new file in 0.48, 0.91 (patched), or trunk.
2. Draw a rectangle.
3. Duplicate
4. Objects to Guides (Shift G)
5. Save
6. Open file in one of the other Inkscape versions, guides should be along edges of rectangle.
(Guides created in 0.91 or trunk with a scale factor other than 1px/'user unit' will not be the same in 0.48.)
3D Box Tool
1. Open a new file in 0.48, 0.91 (patched), or trunk.
2. Select box tool, draw box.
3. Save
4. Open file in on of the other Inkscape versions, box should be the same.
(A box created in 0.91 or trunk with a scale factor other than 1px/'user unit' will not be the same in 0.48.)
tags: | added: 3dbox grids guides |
tags: | added: backport-proposed blocker |
tags: |
added: units removed: grids |
tags: | added: grids |
tags: | removed: backport-proposed |
tags: | removed: blocker |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
no longer affects: | inkscape/0.92.x |
Trunk now updated to use 'user units' for grids. Patch attached for 0.91.
Legacy grids (using unit identifiers) will still be read in but are subject to a scaling error due to the change from 90 to 96dpi.
Test files at http:// tavmjong. free.fr/ INKSCAPE/ UNITS/ updated.