Deep ungroup fails if comments in group
Maybe fixed by #369 (closed) ?, but tracking here in the meantime.
Migrated from https://bugs.launchpad.net/inkscape/+bug/1693578
Steps to Replicate
- Open ellipse_group.svg
- Select the group
- Extensions > Arrange > Deep Ungroup
- Apply with default settings
What happened?
Traceback (most recent call last):
File "ungroup_deep.py", line 183, in <module>
UngroupDeep().run()
File "/home/nal/all/inkscape/share/extensions/inkex/base.py", line 147, in run
self.save_raw(self.effect())
File "ungroup_deep.py", line 176, in effect
self._deep_ungroup(node)
File "ungroup_deep.py", line 161, in _deep_ungroup
self._ungroup(node)
File "ungroup_deep.py", line 106, in _ungroup
child.transform = node_transform * child.transform
AttributeError: 'lxml.etree._Comment' object has no attribute 'transform'
What should have happened?
- successful ungroup, ideally with comments intact
Version info
- Inkscape 1.2-dev (71f65390d8, 2021-08-04) with extensions at or near trunk (ae16ade7)