Bug 145890

Summary: [FILEOPEN PPTX] crop is lost in table cell image background
Product: LibreOffice Reporter: Pablo <pablo.platt>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: xiscofauli
Priority: medium    
Version: 4.1 all versions   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 139902    
Attachments: PPTX showing a table cell with a cropped image background
PPTX showing a table cell with a cropped image background
Comparison LibreOffice 7.3 master and MSO 2010

Description Pablo 2021-11-25 14:38:34 UTC
Description:
The top table cells in the attached PPTX have a background image.
The image in the left cell is cropped.
In Impress the crop is lost and both images look the same.
OpenXML <a:srcRect> and <a:stretch><a:fillRect/></a:stretch/> elements are ignored.

Steps to Reproduce:
1. Open the PPTX

Actual Results:
Both images look the same.

Expected Results:
The left image should be cropped.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 2; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US
Ubuntu package version: 1:7.2.2~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 Pablo 2021-11-25 14:39:43 UTC
Created attachment 176501 [details]
PPTX showing a table cell with a cropped image background
Comment 2 Pablo 2021-11-25 14:45:18 UTC
Created attachment 176502 [details]
PPTX showing a table cell with a cropped image background
Comment 3 Pablo 2021-11-25 14:52:03 UTC
Might be related to the work on cropped images in LO 7.2
https://bugs.documentfoundation.org/show_bug.cgi?id=134210
https://bugs.documentfoundation.org/show_bug.cgi?id=140714
Comment 4 Xisco Faulí 2021-11-25 15:42:31 UTC
Created attachment 176503 [details]
Comparison LibreOffice 7.3 master and  MSO 2010
Comment 5 Xisco Faulí 2021-11-25 15:42:45 UTC
Reproduced in

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: becd76743fd7a3ae84404f26b1afb60b923cabb2
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Xisco Faulí 2021-11-25 15:45:19 UTC
also reproduced in

Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Version: 5.3.0.0.alpha0+
Build ID: e6b0ad680e6fa122e49bf01116edb049dc4b0570
CPU Threads: 4; OS Version: Linux 5.10; UI Render: default; 
Locale: en-US (en_US.UTF-8); Calc: group

and

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 7 Pablo 2023-02-22 17:18:31 UTC
Reproduced in:

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 2; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: threaded