Bug 116148 - FILESAVE PPTX hatching in chart becomes a solid bar
Summary: FILESAVE PPTX hatching in chart becomes a solid bar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: OOXML-Chart PPTX
  Show dependency treegraph
 
Reported: 2018-03-02 19:50 UTC by Gerald Pfeifer
Modified: 2022-12-13 09:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (in ODP) (642.56 KB, application/vnd.oasis.opendocument.presentation)
2018-03-02 19:52 UTC, Gerald Pfeifer
Details
Screenshot before (14.68 KB, image/png)
2018-03-02 19:53 UTC, Gerald Pfeifer
Details
This is how it looks like after saving as PPTX and reopening that (10.38 KB, image/png)
2018-03-02 19:53 UTC, Gerald Pfeifer
Details
The example file opened in current LO 6.3 (33.21 KB, image/png)
2018-12-11 14:32 UTC, Gabor Kelemen (allotropia)
Details
Exported pptx with newly set 0 line spacing (26.20 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-12-11 15:01 UTC, Gabor Kelemen (allotropia)
Details
Exported pptx with newly set 0 line spacing in PP and Impress (149.91 KB, image/png)
2018-12-11 15:10 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2018-03-02 19:50:22 UTC
Description:
Saving a chart with blocks that use hatching as PPTX (regardless whether
the original came as PPTX or ODP) loses the hatching and replaces it with
solid color.

Steps to Reproduce:
1. Open sample document (in ODP format).
2. Save as PPTX.
3. Close and reopen saved PPTX.


Actual Results:  
Observe the difference where what used to be blocks with hatching now
show in solid color.

Expected Results:
Document does not visually change when saving as PPTX.


Reproducible: Always


User Profile Reset: No



Additional Info:
This originally came from a PPTX document, and the import from PPTX
to ODP with LibreOffice seems to have worked just fine.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Comment 1 Gerald Pfeifer 2018-03-02 19:52:20 UTC
Created attachment 140295 [details]
Sample document (in ODP)
Comment 2 Gerald Pfeifer 2018-03-02 19:53:30 UTC
Created attachment 140296 [details]
Screenshot before
Comment 3 Gerald Pfeifer 2018-03-02 19:53:58 UTC
Created attachment 140297 [details]
This is how it looks like after saving as PPTX and reopening that
Comment 4 Julien Nabet 2018-03-03 08:06:01 UTC
On pc Debian x86-64 with master sources updated yesterday, I could reproduce this.
Comment 5 Xisco Faulí 2018-03-05 16:33:31 UTC
Also reproduced in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 6 Gabor Kelemen (allotropia) 2018-12-11 14:32:16 UTC
Created attachment 147438 [details]
The example file opened in current LO 6.3

A source of this problem is that there is a 0 line spacing set in the chart data series, but it is not displayed as such.
A hatching with 0 line spacing is indeed a different way of saying "solid fill".
Another angle is that in MSO it is not possible to select an arbitrary line spacing - this is hidden in the UI as a property of the preset patterns.
Comment 7 Gabor Kelemen (allotropia) 2018-12-11 15:01:18 UTC
Created attachment 147439 [details]
Exported pptx with newly set 0 line spacing

If I try to set a 0 line spacing in a current LO version, the exported line spacing value is set to 0.05 cm and not a solid fill anymore.
Comment 8 Gabor Kelemen (allotropia) 2018-12-11 15:10:31 UTC
Created attachment 147440 [details]
Exported pptx with newly set 0 line spacing in PP and Impress

LO no longer saves 0 line spacing to pptx, so it's not possible to export the solid fill instead of hatching.
Comment 9 Gabor Kelemen (allotropia) 2018-12-11 15:19:07 UTC
(In reply to Gabor Kelemen from comment #8)
> Created attachment 147440 [details]
> Exported pptx with newly set 0 line spacing in PP and Impress
> 
> LO no longer saves 0 line spacing to pptx, so it's not possible to export
> the solid fill instead of hatching.

Addition: the original file can still be exported with solid fill, but any newly created hatching with 0 line spacing cannot.

Maybe we can live with that, and close this as WFM?
Comment 10 QA Administrators 2020-12-11 03:47:16 UTC Comment hidden (obsolete)
Comment 11 Gerald Pfeifer 2020-12-12 23:10:25 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2022-12-13 03:19:18 UTC Comment hidden (obsolete)
Comment 13 Gerald Pfeifer 2022-12-13 09:05:06 UTC
Still there in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 01c9c971e43782800ebf63acc763a7e7fba096c1
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US