Description: The gradients of flipped shapes get imported incorrectly. Steps to Reproduce: 1.Create a shape in PowerPoint. 2.Set a gradient as background. 3.Flip and rotate the shape. 4.Open in Impress. Actual Results: The angle of the gradient is different. Expected Results: It should be the same. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Created attachment 134706 [details] Example presentation
Created attachment 134707 [details] Presentation in PowerPoint
Created attachment 134708 [details] Presentation in Impress
Created attachment 134709 [details] Test file sd/qa/unit/data/n762695.pptx in PowerPoint
Created attachment 134710 [details] Test file sd/qa/unit/data/n762695.pptx in Impress
Confirmed in Version: 6.0.0.0.alpha0+ Build ID: ddadcb4f4a2bc6538c219a0a577bdf5999015150 CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group
Paul Trojahn committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5fc980154a968d8f48803289f0042d105dfc102a tdf#109187 Fix OOXML import of flipped shapes with gradients It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 135606 [details] still incorrect gradients of shapes in Daily20170816 tested in Version: 6.0.0.0.alpha0+ Build ID: 75933b220d48bceff25b07cfc4b55c70a2e24917 CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-08-16_22:50:24 Locale: nl-NL (nl_NL.UTF-8); Calc: group
Hi Paul - for me this still is the same as in your attachment 134708 [details]
The arrows look slightly different from the PowerPoint screenshot because LibreOffice starts the gradient at the edge of the bounding box and not at the shape. This bug was only intended to cover the incorrect angle of the gradient.
thanks for explaining Paul!
Could you please report it in a follow-up bug?