Rectangular grids don't use the Preferences grid unit

Bug #526875 reported by jazzynico
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

Tested on WIndows XP, Inkcape 0.47 and bzr trunk. Works as expected with 0.46.
Steps:
1. Change the Grid units in File>Inkscape Preferences>Grids>Rectangular grid (px->cm).
2. Create a new rectangular grid with File>Document Properties>Grids.

All the default properties are correctly applied to the grid, except the Grid units, which is still in px.
Axonometric grids are not affected.

Related branches

jazzynico (jazzynico)
tags: added: grids preferences regression
Revision history for this message
jazzynico (jazzynico) wrote :

Preferences.xml diff:

Default grid parameters.
    <group
       id="grids"
       no_emphasize_when_zoomedout="0">
      <group
         id="xy"
         units="px"
         ....

After unit change (0.46)
    <group
       id="grids"
       no_emphasize_when_zoomedout="0">
      <group
         id="xy"
         units="cm"
         .....

After unit change (0.47)
    <group
       id="grids"
       no_emphasize_when_zoomedout="0"
       units="cm">
      <group
         id="xy"
         units="px"
         .....

Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47 r22583, OS X 10.5.8
not reproduced with Inkscape 0.47+devel r9108

could it be that r9092 fixed this?

Revision ID: johan@johannesmobile-20100214235333-mn2jaxrsps7qkt0g
- fix bug: xy grid default unit was not respected

Revision history for this message
jazzynico (jazzynico) wrote :

I confirm this bug is fixed in 9092 (my snapshot was a bit old on that computer...).
Thanks!

Changed in inkscape:
milestone: none → 0.48
status: New → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
Revision history for this message
pRototype (regeir) wrote :

Inkscape 0.48+devel r10611

Behaviour seems to be back (don't know when - I seldom uses other units than px anyway)

It's certainly known, but I add a list of steps to reproduce so that there should be little chances to be misunderstood:
* Open Inkscape (with default template)
* Open "Document Properties" dialog box
* Set "default units" to mm.
* Go to the "Grids" tab and hit New button.
** Expect "grid units" to be mm, but they're still px.

* Have to manually change "grid units" to be mm and set spacing to 0.1 or 1.

Revision history for this message
su_v (suv-lp) wrote :

pRototype (regeir) wrote:
> Behaviour seems to be back (…)

No. This issue (bug #526875) is fixed in stable 0.48.2 as well as in current trunk (r10624): the default units for grids is properly take from the settings in the preferences (Inkscape Preferences > Grids).
The units for new grids are _not_ taken from the document units - you are confusing this report with bug #171277 “Document Prefs' Default Unit should be set for grid/guides”.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.