trunk: some of the locale-based templates cause objects to be resized when default units are changed (rev >= 12557)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Alvin Penner |
Bug Description
Steps to reproduce:
1) launch current trunk with a different locale (e.g. DE, or FR) [1]:
$ LANG="fr_FR.UTF-8" inkscape
2) draw a rectangle and snap it to the page corners
3) open 'File > Document Properties'
4) change default unit to 'mm'
Expected result:
The units for the ruler change to 'mm', but the page size and the objects' position/dimension stay unchanged.
Actual result:
The rulers change, and the objects is scaled down at the same time.
Confirmed with r12667 on OS X 10.7.5 with "LANG=de_DE.UTF-8" and "LANG=fr_FR.UTF-8", not reproduced with documents based on default.svg, not reproduced e.g. with "LANG=it_IT.UTF-8"
Based on tests with archived builds on OS X 10.7.5:
- not reproduced with rev <= 12556
- reproduced with rev >= 12557
this unexpected behavior was introduced in
Revision 12557: Use viewBox for new documents.
<http://
-----
[1] Alternatively open the attached document (created with "LANG=fr_FR.UTF-8", with a page-sized rectangle already added) and continue with step 3.
Related branches
Changed in inkscape: | |
importance: | Undecided → High |
Changed in inkscape: | |
assignee: | Matthew Petroff (matthewpetroff) → nobody |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Apparently does not affect files created with 0.48.4 (stable), based on the same locale (fr_FR.UTF-8) - sample attached.