Affinity Desginer 1.7.1.404 removes the groups of an imported SVG file. If a group only contains one child, it ungoups it. This is an unexpected behavior. Because it manipulates the SVG data.
Input (SVG Source, Snippet):
<g id="One">
<rect x="0" y="0" width="300" height="100" fill="#f53d3d"/>
<rect x="0" y="100" width="300" height="100" fill="#32db64"/>
</g>
<g id="Two">
<rect x="0" y="200" width="300" height="100" fill="#488aff"/>
</g>
Output (Imported, Snippet, interpreted as SVG)
<g id="One">
<rect x="0" y="0" width="300" height="100" fill="#f53d3d"/>
<rect x="0" y="100" width="300" height="100" fill="#32db64"/>
</g>
<rect id="Two" x="0" y="200" width="300" height="100" fill="#488aff"/>
See attached files.
I think this bug is not windows-only.
Actual:
Expected:
demo.svg