Grid issues after upgrading Inkscape
Summary:
I have noticed this behaviour since about 3 years: After an Inkscape update, the background grid is shifted when i open an old figure compared to the old version.
Typically this was no issue, as marking everything and bring it back to the NEW grid (which is shifted to the OLD one).
I am very sure about this, because i always draw on the grid to get rectangular lines.
Now, the grid is scaled different (opened from old document). It can not be fixed by just shifting back the symbol to the original grids, as the scaling has changed. Here, you will see one end on the grid, but the other end is not on the grid.
When i copy the symbol to a new document, the grid scaling is perfect again. Both ends are on the grid.
Grid settings of the existing document
Grid settings of new document
The grid settings in new documents is px
and not mm
. I was also testing this with some more old documents and found the same behaviour: old documents have been drawn with px
-gird, but when opening the old documents with the latest inkscape version, it is a mm
-grid. When bringing the setting back to px
-grid, all dimensions match again.
It seems to be, a missmatch in the grid settings when opening old documents.
Steps to reproduce:
- open the attached file bug_grid.svg
- look for the diode (or any other symbol) and see that the grid that does not match to the origins of the diode.
- copy the diode (or any other symbol) to a new inkscape document OR change the grid settings to
px
- See that the grid matches now perfectly to the origins of the diode.
Sample attachments:
Version info
Inkscape 1.3.2 (091e20ef0f, 2023-11-25, custom)
GLib version: 2.78.3
GTK version: 3.24.39
glibmm version: 2.66.6
gtkmm version: 3.24.8
libxml2 version: 2.12.3
libxslt version: 1.1.39
Cairo version: 1.18.0
Pango version: 1.51.0
HarfBuzz version: 8.3.0
OS version: Manjaro Linux