Bug 334608 - Rectangle with rounded corners turns into square
Summary: Rectangle with rounded corners turns into square
Status: RESOLVED FIXED
Alias: None
Product: karbon
Classification: Applications
Component: opendocument (other bugs)
Version First Reported In: 2.8.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 13:09 UTC by Jeppe Bundsgaard
Modified: 2020-04-24 05:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 3.2.0
Sentry Crash Report:


Attachments
Rectangle from LibreOffice (8.76 KB, application/vnd.oasis.opendocument.graphics)
2014-05-11 13:10 UTC, Jeppe Bundsgaard
Details
Rectangle after loading and saving from Karbon (4.16 KB, application/vnd.oasis.opendocument.graphics)
2014-05-11 13:11 UTC, Jeppe Bundsgaard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeppe Bundsgaard 2014-05-11 13:09:52 UTC
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.
Comment 1 Jeppe Bundsgaard 2014-05-11 13:10:42 UTC
Created attachment 86572 [details]
Rectangle from LibreOffice
Comment 2 Jeppe Bundsgaard 2014-05-11 13:11:24 UTC
Created attachment 86573 [details]
Rectangle after loading and saving from Karbon
Comment 3 Anthony Fieroni 2018-08-29 12:46:01 UTC
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