I am using LibreOffice Draw to produce a stencil for Calligra Flow which uses rectangles with rounded corners. When saving a flow, the rectangle turns into a square with rounded corners. The same happens when loading the rectangle into Karbon and saving it again (it turns into a square). I guess they share ODF save library...? Reproducible: Always Steps to Reproduce: 1. Produce a rectangle with rounded corners in libreoffice draw 2. Load into Karbon/Flow and save 3. Open file Actual Results: You get a square with rounded corners. Expected Results: A rectangle with rounded corners.
Created attachment 86572 [details] Rectangle from LibreOffice
Created attachment 86573 [details] Rectangle after loading and saving from Karbon
Git commit da40d525d2c0aecad2b1e2cc67054668615118a1 by Anthony Fieroni. Committed on 29/08/2018 at 12:45. Pushed by anthonyfieroni into branch 'master'. [EnhancedPathShape] Keep correct aspect ratio of shapes in odf files Differential Revision: https://phabricator.kde.org/D15056 Signed-off-by: Anthony Fieroni <bvbfan@abv.bg> M +4 -2 plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp https://commits.kde.org/calligra/da40d525d2c0aecad2b1e2cc67054668615118a1