Measure tool reports wrong location for stars and spirals that have been moved

Summary:

If you move a spiral, star or regular polygon, the position that is indicated by the measure tool does not change.

Steps to reproduce:

  • open Inkscape
  • draw star
  • check position with measure tool
  • move star
  • check position again

What happened?

The position that is indicated is still the same, even though the star has been moved.

What should have happened?

The position calculation should take the transform into account.

Version info

Inkscape 1.2 (1:1.2.1+202207142221+cd75a1ee6d)

    GLib version:     2.64.6
    GTK version:      3.24.20
    glibmm version:   2.64.2
    gtkmm version:    3.24.2
    libxml2 version:  2.9.10
    libxslt version:  1.1.34
    Cairo version:    1.16.0
    Pango version:    1.44.7
    HarfBuzz version: 2.6.4

    OS version:       Linux Mint 20.3
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information