Objects with custom markers created from multiple objects have wrong bounding box

Summary:

When a marker was created from multiple, ungrouped objects in 1.1.x (not 1.0.x), the bounding box of an object using that marker only takes one of the marker objects into account.

Possibly related: #4164 (moved)

Steps to reproduce:

  • open Inkscape
  • draw a few objects like two overlapping circles
  • Object > Object to marker
  • Use that as a marker for a straight line (easier to see)

What happened?

When I select the line, the bounding box does not include the whole object, but just part of it. No problem if objects were grouped before converting to a marker.

2021-05-14_17-01 Zeichnung.svg

What should have happened?

The bounding box should include all parts of the object.

Version Info:

- Inkscape Version: Inkscape 1.1-rc (52f87abb86, 2021-05-02)
- Operating System: Linux Mint 20.1