Bug 167825 - FILEOPEN PPTX: background around image shown with transparency
Summary: FILEOPEN PPTX: background around image shown with transparency
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Impress-Gradient Impress-Images
  Show dependency treegraph
 
Reported: 2025-08-05 22:36 UTC by Gerald Pfeifer
Modified: 2025-08-13 04:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample slides (PPTX) (789.84 KB, application/vnd.ms-powerpoint)
2025-08-05 22:36 UTC, Gerald Pfeifer
Details
Visual comparison of slide 2, PowerPoint (left) - Impress (right) (358.27 KB, image/png)
2025-08-05 22:36 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2025-08-05 22:36:02 UTC
Created attachment 202200 [details]
Sample slides (PPTX)

Comparing the sample document between PowerPoint (online) and Impress,
in one case there is a larger white background above and below the image,
whereas in the other it transparently shows the background.

Seen with

   Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
   Build ID: 72d523f4010647041f7ed95bf3329529e0a48af8
   CPU threads: 12; OS: Linux 6.15; UI render: default; VCL: gtk3

and all the way up to

   Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
   Build ID: 72d523f4010647041f7ed95bf3329529e0a48af8
   CPU threads: 12; OS: Linux 6.15; UI render: default; VCL: gtk3
Comment 1 Gerald Pfeifer 2025-08-05 22:36:39 UTC
Created attachment 202201 [details]
Visual comparison of slide 2, PowerPoint (left) - Impress (right)
Comment 2 Gerald Pfeifer 2025-08-06 17:52:33 UTC
(Google Slides matches PowerPoint/online.)
Comment 3 Regina Henschel 2025-08-06 22:07:55 UTC
The picture shape has no own solidFill attribute. Thus it gets it fill by inheritance. Here it is the fill, that is set for the picture placeholder in slide layout slideLayout37.xml.

The fact that inheritance is used, is described in 2.1.1284 Part 1 Section 20.1.8, Shape, Fills, Effects and Line Properties in [MS-OI29500] - v20250218.