GNOME Bugzilla – Bug 779160
Chart objects transparency is not exported to xlsx
Last modified: 2017-02-28 16:59:26 UTC
Created attachment 346613 [details] Export this file to xlsx and reopen, the transparency is lost, at least in gnumeric. When exporting a chart with tansparent objects inside, transparency is lost (except for backplane and legend where the must_fill_fill field is forced to TRUE).
Confirmed. Excel renders what we write as filled.
Created attachment 346713 [details] [review] Proposed patch At least the transparency is preserved in gnumeric and LO (but in LO the outline becomes transparent)
Hmm... I was sure that test was there for a reason, but the test suite disagrees: I see no failures by applying the patch. I am a strong believer of the test suite, so go ahead and commit. We don't break anything we know about. We ought to add a test for transparent fill, though.
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
Missing commit or push?
Previous push apparently failed, not sure why. Done.
Hmm... I am not sure why I did not see problems at home, but here I see lots of changes in t6516 for xlsx: - <fill type="none" auto-type="1" is-auto="1" auto-fore="1"/> + <fill type="none" auto-type="0" is-auto="1" auto-fore="1"/> I.e., we have lost the ability to round-trip an automatic type.
Created attachment 346917 [details] [review] patch to test Please, try this.
That seems to work.