Skip to content

Attributes in `sodipodi:namedview` not in sync with UI

Steps to reproduce:

Case 1:

  • open Inkscape
  • navigate to the element sodipodi:namedview in the XML editor
  • change the value of inkscape:zoom

Case 2:

  • change the zoom via scrolling, the spinner in the bottom right corner, or the zoom shortcuts 1-6

What happened?

Case 1: nothing

Case 2: the value of inkscape:zoom doesn't change

What should have happened?

Case 1: the canvas is zoomed

Case 2: the value of inkscape:zoom changes

Both cases affect at least the following attributes: inkscape:zoom, inkscape-window-*, showgrid, inkscape:cx, inkscape:cy, inscape:current-layer.

The attribute inkscape:rotation is also affected, but a special case. It is not present by default and changing the rotation doesn't make it show up in the list of attributes.

All attributes in the list are updated with the current UI values when saving the file.

The issue does not affect the following attributes: borderopacity, bordercolor, pagecolor, inkscape:pageshadow, inkscape:pageopacity, inkscape:document-units.

Inkscape Version and Operating System:

  • Inkscape Version: 1.1-dev (03ae7f7, 2020-01-04)
  • Operating System: Windows 10
  • Operating System version: 10.0.18362
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information