How to put multiple shapes into one object (without grouping , cloning , union and also merging the shapes of them) in Inkscape?
I mean something like this :

*Note that the box in center is one "object" not a group

svg sample file (artwork by vicko at https://www.pling.com/u/vicko/)

  • 1
    Is there a reason why you don't want to group the shapes? Mar 12, 2020 at 15:30
  • I want to design a custom tooltip and the problem is that my compositor in KDE desktop environment in linux needs exactly one object to work with and when it parses the svg file , it only picks up the first occurrence with the name "tooltip-normal" and my custom tooltip is somewhat like the above picture which needs to be at least two objects in design.But actually the reason isn't a part of that question. Mar 12, 2020 at 16:08
  • Inkscape aims to be strictly compliant to SVG standard, and a shape in SVG is an elementary object i.e. with one fill and one stroke. If this is suitable for you, you can perform an uion on your shapes. Else, you must tweak your compositor and parse for groups or other SVG objects. Mar 12, 2020 at 20:04
  • But in the above image I think the center box has two Fill and Strokes but its tag in the XML editor panel hasn't any child so it's just one object.Am I wrong about "two fill-and-strokes" or is it non-standard? Mar 13, 2020 at 9:59
  • If you group the objects and name the group "tooltip-normal", then your tool will pick that element up? I think perhaps your question is not about inkscape, but about your KDE compositor.
    – Luciano
    Mar 13, 2020 at 12:59

1 Answer 1


There are two kinds of labels that Inkscape uses.The first one that the standard SVG (and also my compositor) doesn't care is inkscape:label(and each time you rename an object in the objects panel in fact that would be changed and it's for internal use by inkscape itself) and the one that my compositor parses each time is id :

enter image description here

So there is no need to have two shapes in one object , just what I needed to do was to change the group's id to tooltip-normal.
And that works well :

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.