Objects/XML Editor Dialog: object moved when dragged into group with transform

Steps to reproduce:

I have noticed some crashes and odd behaviors using "Objects" palette. Use the attached file "layer_moves_object.svg" to reproduce the issue.

  1. Open the attached file in Inkscape ( layer_moves_object.svg )
  2. Go to: Object > Objects...

I have removed from the file most of the objects, but the issue is still reproducible.

  1. Drag the red rectangle "move this inside "inner layer"" to the group "inner layer"

What happened?

The red rectangle has been displaced to a different position on canvas.

What should have happened?

The red rectangle should have kept its initial position and only change its relationship with respect to the layers.

Inkscape Version and Operating System:

  • Inkscape Version: 1.0beta2 (1eac3aaa, 2020-01-12) AppImage
  • Operating System: openSUSE
  • Operating System version: openSUSE 15.1 64-bit
Edited by Nathan Lee