Gradients are translated and scaled when applied to a group of stars.

Summary:

Gradients are translated and scaled when applied to a group of stars.

Steps to reproduce:

  • open Inkscape
  • create a star with the star/polygon tool
  • duplicate the star with ctrl-D, and move the duplicate off to the side
  • select both stars and press ctrl-G to group them.
  • with the group selected, use the gradient tool to create a gradient for the stars

What happened?

The gradient is applied to each star as if it were translated to the center of the star and scaled down.

What should have happened?

The gradient should be applied without translation, same as every other use of the gradient tool.

Sample attachments:

test.svg

Version info

Inkscape 1.1.1 (3bf5ae0, 2021-09-20)

(Running on Lubuntu 20.04.3 LTS, but the same problem also occurs on Windows.)