Snap to center of object doesn't work for text or raster import

Migrated from: https://bugs.launchpad.net/inkscape/+bug/1803913

Steps to reproduce:

  • Open inkscape with this file: snap-center-test.svg
  • Ensure "snap to center of objects" is enabled, and "snap and item's rotation center" is disabled
  • Try to snap the center of the text the the guide intersection (or make some other snap targets)
  • Try to snap the center of the raster image (an early test of the Gradient Mesh tool, fyi) to the guides or something else
  • Try to snap a rectangle to the center of either text or image.

What happened?

Fails to snap to center without rotation center enabled.

What should have happened?

Snap to center for text and images

Inkscape Version and Operating System:

  • Inkscape 0.92.3, 64-bit, 7z package Windows 7
  • Inkscape 0.92.3 (2405546, 2018-03-11) indows 7
  • Inkscape 0.92.4 5da689c313, 2019-01-14 flatpak, Linux Mint 19.1
  • 1.0alpha (2bfff77150, 2019-04-16, direct descendent of master from this point in the log), Linux Mint 19.1

File mentioned in instructions

snap-center-test.svg

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information