<div dir="ltr">Hello, we have a problem in Krita with drawing a polygon or a bezier curve (or basicly anything that uses KoPathShape) in a vector layer, then transform it so that the lines increase their thickness, then save the file in .kra format and then reload it: the thickness is not kept.<div>I've found that this is because loadOdf does something different than saveOdf when loading and i don't get why.</div><div>First it only loads some attributes back, then it checks for some specific element names (and in my tests i never entered in those ifs), then the transformation matrix is baked into the viewbox and the path geometry only, while the stroke is kept unchanged.</div><div>This is wrong though because the original transformation, before saving, changed also the stroke thickness.</div><div>Why baking the matrix into the path geometry only? Why loadOdf doesn't just do the "opposite" of what saveOdf do?</div><div><br></div><div>I tried replicating what saveOdf does writing simply this:</div><div><br></div>Q_D(KoPathShape);<br>loadOdfAttributes(element, context, OdfAllAttributes | OdfViewbox);<br>KoPathShapeLoader loader(this);<br>loader.parseSvg(element.attributeNS(KoXmlNS::svg, "d"), true);<br>d->loadNodeTypes(element);<br>loadOdfAttributes(element, context, OdfCommonChildElements);<br>loadText(element, context);<div><br></div><div>as a replacement for loadOdf and it works as expected.</div><div>Though not being 100% that this doesn't give problems somewhere else, i'm writing here for clues.</div></div>