Inkscape 3 : "Resize page to selection" make the selected jump off grid
Summary:
This is reported on the "Beyond the Basics" Inkscape forum as:
- "Inkscape 3 : "Resize page to selection" make the selected jump off grid" Find there also screen recording and example svg. I've been asked to report this as BUG.
Making a symbol or something else and selecting then the whole drawing to adapt the page size to just the drawing makes after [Edit] - [Resize page to selection] the drawing jump off grid. In most cases it's very visible but in some cases it is nearly invisible. When I started working with previous version this was also an issue and it got solved, but this 'annoyance' is back now.
It would not be such a problem if the resized and off grid figure could be used in a new drawing positioned on the grid but that is not possible. The figure jumps off grid and when after saving it, it is imported in a new drawing it is not possible to drop it / snap it back on the grid.
The strange thing is that it looks as if the grid jumps and not the drawing. I've attached two screenshots as a zip, one with the drawing on grid and the second, after resize page to selection, where the figure is now off grid.
Steps to reproduce:
Made a small screen recording I'm redoing a library of electronic components done in previous versions. Release of 1.3 looked a good opportunity to make the library look nice and uniform again. So set these document parameters:
- scale: 1.00000
- grid spacing (X & Y): 0.25
- Major grid line every: 4
- Starting zoom at 186% Grid is visible and enabled with snap to grid lines on.
At the begin you can see the component as it is made by a previous version. I need to realign all pins to the grid, resize the labels and align the pin labels to the grid locked pins. Video is then paused till nearly everything is done.
Then I show the selection of the entire component and select [Edit] [Resize Page to Selection]
What happened?
Now you can see the grid jump and the component is suddenly placed off grid. (show also with the small horizontal line) When zooming out to the original zoom size of 186% it's even more visible that the pins are off grid.
What should have happened?
The component should have stayed on the grid. This worked in previous version.
It also works, grid not jumping, when using a with Inkscape delivered template
- Template is : A4, vertical
- Display and grid units of template are in: mm
- The template scale is set to: 0,264583 and the grid spacing X & Y is set to: 0,06615
- The scale and grid came with the template and are not what I normally use (grid and scale are chosen so that the svg that rolls out Inkscape can be used in two other tools). Even if it works with a template it's still not a solution for me.
Sample attachments:
Version info
- Linux kernel: 5.15.0-78-generic
- Linux Mint 20 Cinnamon (4.6.7)
- Inkscape 1.3 (1:1.3+202307231459+0e150ed6c4)