Bug 119884 - Color replacement ignored in PPTX import
Summary: Color replacement ignored in PPTX import
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX
  Show dependency treegraph
 
Reported: 2018-09-14 15:47 UTC by Ofir
Modified: 2018-10-04 15:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
PPTX with color replacement (31.73 KB, application/zip)
2018-09-14 15:48 UTC, Ofir
Details
PDF exported from PowerPoint 2013 showing the expected result (3.41 KB, application/pdf)
2018-09-14 15:49 UTC, Ofir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir 2018-09-14 15:47:44 UTC
Description:
The attached PPTX has a shape image of blue rectangle with green background.
The green background is replaced with transparency in PowerPoint 2013.
In impress the green background is not replaced.

Steps to Reproduce:
1. Open the attached PPTX in Impress.
2. Compare to the attached PDF exported from PowerPoint 2013.

Actual Results:
The blue rectangle has green background.

Expected Results:
The green background should be replaced with transparency.


Reproducible: Always


User Profile Reset: No



Additional Info:
The XML of the <p:pic> shape with the <a:clrChange> element in slide1.xml:

<p:pic>
	<p:nvPicPr>
	  <p:cNvPr id="6" name="Picture 5"/>
	  <p:cNvPicPr>
		<a:picLocks noChangeAspect="1"/>
	  </p:cNvPicPr>
	  <p:nvPr/>
	</p:nvPicPr>
	<p:blipFill>
	  <a:blip r:embed="rId2">
		<a:clrChange>
		  <a:clrFrom>
			<a:srgbClr val="22B14C"/>
		  </a:clrFrom>
		  <a:clrTo>
			<a:srgbClr val="22B14C">
			  <a:alpha val="0"/>
			</a:srgbClr>
		  </a:clrTo>
		</a:clrChange>
		<a:extLst>
		  <a:ext uri="{28A0092B-C50C-407E-A947-70E740481C1C}">
			<a14:useLocalDpi xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" val="0"/>
		  </a:ext>
		</a:extLst>
	  </a:blip>
	  <a:stretch>
		<a:fillRect/>
	  </a:stretch>
	</p:blipFill>
	<p:spPr>
	  <a:xfrm>
		<a:off x="5386640" y="2341783"/>
		<a:ext cx="1905770" cy="1905770"/>
	  </a:xfrm>
	  <a:prstGeom prst="rect">
		<a:avLst/>
	  </a:prstGeom>
	</p:spPr>
  </p:pic>
Comment 1 Ofir 2018-09-14 15:48:55 UTC
Created attachment 144868 [details]
PPTX with color replacement
Comment 2 Ofir 2018-09-14 15:49:18 UTC
Created attachment 144869 [details]
PDF exported from PowerPoint 2013 showing the expected result
Comment 3 Roman Kuznetsov 2018-09-23 15:54:25 UTC
confirm it in

Version: 6.1.2.1 (x64)
Build ID: 65905a128db06ba48db947242809d14d3f9a93fe
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL
Comment 4 Xisco Faulí 2018-10-04 15:58:31 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4