Bug 95211 - PPT Import: Shape works from PPTX but not from PPT
Summary: PPT Import: Shape works from PPTX but not from PPT
Status: RESOLVED DUPLICATE of bug 48083
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-21 02:28 UTC by Matthew Holloway
Modified: 2018-12-20 13:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with a blue header covered by a white curve (1.50 MB, application/vnd.ms-powerpoint)
2015-10-21 02:28 UTC, Matthew Holloway
Details
The same document save-as PPTX from Microsoft Office can be imported into LibreOffice correctly (182.54 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2015-10-21 02:29 UTC, Matthew Holloway
Details
The correct rendering in Microsoft Office 2013 (33.85 KB, image/png)
2015-10-21 02:32 UTC, Matthew Holloway
Details
The incorrect rendering from LibreOffice when opening the PPT (33.11 KB, image/png)
2015-10-21 02:33 UTC, Matthew Holloway
Details
shape with "slide background fill" (32.41 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2018-12-20 13:22 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Holloway 2015-10-21 02:28:53 UTC
Created attachment 119813 [details]
Document with a blue header covered by a white curve

The attached PPT file has a blue header covered by a white curve which is visible in Microsoft Office 2013 but not in LibreOffice.

Yet if I open the PPT from Microsoft Office 2013 and save-as PPTX then LibreOffice is able to render the white curve.

So I guess it's a problem in PPT import.

This doesn't appear to be a regression as it occurs in 3.3.0rc4, 4.4.6.1 and 5.0.3.1 so I assume all LibreOffice's are affected.
Comment 1 Matthew Holloway 2015-10-21 02:29:44 UTC
Created attachment 119814 [details]
The same document save-as PPTX from Microsoft Office can be imported into LibreOffice correctly

LibreOffice can open this PPTX but not the PPT
Comment 2 Matthew Holloway 2015-10-21 02:32:11 UTC
Created attachment 119815 [details]
The correct rendering in Microsoft Office 2013
Comment 3 Matthew Holloway 2015-10-21 02:33:25 UTC
Created attachment 119816 [details]
The incorrect rendering from LibreOffice when opening the PPT
Comment 4 Buovjaga 2015-10-21 17:30:58 UTC
Confirmed.

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 5 QA Administrators 2016-11-08 11:04:46 UTC Comment hidden (obsolete)
Comment 6 Xisco Faulí 2017-11-08 15:42:49 UTC
Still reproducible in

Version: 6.0.0.0.alpha1+
Build ID: 38a8157d9447134913d88c6c373d99a7aa472857
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 7 QA Administrators 2018-11-09 03:59:46 UTC Comment hidden (obsolete)
Comment 8 Regina Henschel 2018-12-19 19:19:38 UTC
I see the white lines in Version: 6.3.0.0.alpha0+ (x64)
Build ID: 7176211382cc288750273e16ea7eb206854be33f
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-12-17_03:47:50
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded

with OpenGL disabled and enabled.

The lines are in group object in the master page. They have line width 0.00cm, which means it is a hair line. That might not work for some OS or screen resolution. You should try to set it to a non-zero value.
Comment 9 Buovjaga 2018-12-20 09:23:39 UTC
The problem is not the lines, but that the large white shape at the bottom of the group seems to be completely missing.
Comment 10 Regina Henschel 2018-12-20 13:22:48 UTC
Created attachment 147708 [details]
shape with "slide background fill"

(In reply to Buovjaga from comment #9)
> The problem is not the lines, but that the large white shape at the bottom
> of the group seems to be completely missing.

Oh, I see. The reason for that problem is, that the shape has the color filling "background", which means, that the shape uses the same color as the background of the slide. So the color of the shape is linked to the color of the slide. That is different from "transparent".

The problem is, that LibreOffice does not have a similar setting for background color and ODF has no attribute to store this information.

In current PowerPoint it is "slide background fill" in the UI. If you open such pptx file in LibreOffice, the color is set to "white", which is wrong too, but it is here not visible, because the slide background is white. The statement "works from PPTX" is wrong.

In the attached pptx file, the slide background is orange and the rectangle has the setting "slide background fill". 

That is the same problem as reported in bug 48083.
Comment 11 Buovjaga 2018-12-20 13:26:51 UTC
Thanks. Let's dupe this to the older one, then.

*** This bug has been marked as a duplicate of bug 48083 ***