Resizing page to content and Undo misplaces the grid

Bug #1652666 reported by Frank
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Unassigned

Bug Description

When resizing the page to the content and pressing Ctrl + Z, the grid is displaced. Thus all Objects placed on grid are no more on the grid.

One solution could be to ask the user at resizing, if the grid should be altered with respect to the page (as now), or adapted, so the origin isn't equal to the bottom left corner of the page, but the grid lines would be at the same place as before (relative to all objects, not the page borders).

Tags: grids undo
Revision history for this message
Alvin Penner (apenner) wrote :

not reproduced on Windows 10, Inkscape 0.92pre4 15278, using the attached sample file.

could you provide an svg file that demonstrates the problem?

jazzynico (jazzynico)
tags: added: grids undo
Revision history for this message
Frank (zyklon87) wrote :

Ok, I tried again. When restoring the former size by Ctrl + Z, the grid is misplaced, as you can see in the screenshot. But I recognized, that this is resolved when opening the file again – so you won't see anything misplaced, when you open my file.

Revision history for this message
Frank (zyklon87) wrote :

Here's the screenshot.

Revision history for this message
Frank (zyklon87) wrote :

I'm using Fedora 25 btw.

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Xubuntu 16.04, Inkscape 0.91 and lp:inkscape rev. 15461.

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Martin Herrmann (martin-famherrmann) wrote :

Reproduced on Inkscape 0.92.3 (2405546, 2018-03-11), Windows 10

Steps to reproduce:

1. Open attached file.
2. "File" -> "Document Properties".
3. (On the "Grids" tab, note that "Origin X" and "Origin Y" are zero.)
4. On the "Page tab", click "Resize page to drawing or selection".
5. (On the "Grids" tab, note that "Origin X" and "Origin Y" are still zero.)
6. "Edit" -> "Undo". The grid is now misaligned.
7. (On the "Grids" tab, note that "Origin X" and "Origin Y" are both -1,73550 mm where they should be zero, as they were before step 4.)

Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi, this issue has been reported to Gitlab: https://gitlab.com/inkscape/inbox/-/issues/2565

Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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