circle without cx cy attributes moves wrong on undo
Summary:
<circle> attributes like cx are optional and default to 0, but Inkscape ignores the default e.g. on undo.
Steps to reproduce:
- open Inkscape
- open circle-default-attributes.svg
- move the circle (e.g. using the mouse or arrow keys)
- Ctrl+Z (or Edit > Undo)
What happened?
The circle moves to some random position instead of its original position.
What should have happened?
The circle moves to its original position.
Related issues
- Deleting any of
cxcyrusing the XML Editor has no effect. - Setting
r=0orr=-1using the XML Editor has no effect (should disable rendering of the circle)
Version info
Tested on Arch Linux with:
Inkscape 1.5-dev (f4c649c00a, 2024-11-30, custom)Inkscape 1.4 (bfbf874f89, 2024-11-23)Inkscape 1.0.2 (e86c870, 2021-01-15)Inkscape 0.92.5 (d4e9c2cd6d, 2021-12-24, custom)