Created attachment 135848 [details]
Sample PPTX (becomes corrupted after roundtrip)
The attached presentation contains a single shape with a gradient fill where the two gradient stops are at the same position.
Save it as a new PPTX in Impress. The resulting file opens with repair in PowerPoint.
Note that if one of the gradient stops is moved even by 1%, the roundtripped file opens fine (the colors are flipped, though).
In Impress the gradient shows very differently in both cases, possibly due to bug 76682.
Observed using LO 6.0 daily build (2017-08-27_23:19:54, 9600f5179795380749aa5a7c9fa0bf5387d2b95f), 22.214.171.124 / Windows 7.
Created attachment 135849 [details]
Sample PPTX (doesn't become corrupted after roundtrip)
Validating in Open XML SDK 2.5 I get:
GradientStopList - The element has incomplete content
This kind of gradient fill seems to be missing from ODF format, so it's a format limitation. Jay, is there an appropriate META bug for such issues?
Note that the bug can still be fixed by importing into the closest valid ODF gradient fill, and exporting that (or possibly even roundtripping the OOXML element as it came from MS Office).
(In reply to Aron Budea from comment #3)
> Jay, is there an appropriate META bug for such issues?
ooxml-object-fill meta bug (bug 94774).
> Note that the bug can still be fixed by importing into the closest valid ODF
> gradient fill, and exporting that (or possibly even roundtripping the OOXML
> element as it came from MS Office).
Unless the user modifies the gradient/fill, it should be retained as is during RT.
Szymon Kłos committed a patch related to this issue.
It has been pushed to "master":
tdf#112088 gradient stop map -> multimap
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:
Affected users are encouraged to test the fix and report feedback.