gradientTransform lost on edit/move/ungroup (if gradientUnits="objectBoundingBox")

Summary:

A group containing an object filled with a gradient that uses a gradient transform is displayed correctly. Ungroup it, and the gradient transform is lost.

Steps to reproduce:

  • Run inkscape ungroup-me.svg
  • EditSelect All
  • ObjectUngroup

What happened?

The skewed radial gradient became circular:

actual

What should have happened?

It should have stayed elliptical:

expected

Sample attachments:

ungroup-me.svg

Version info

$ inkscape -V
Inkscape 1.0.2 (e86c870879, 2021-01-15)
    Pango version: 1.48.2
$ cat /etc/issue
Ubuntu 21.04 \n \l
Edited by Nathan Lee