Bug 160063 - LibreOffice wrongly puts some gray background when reopening OOXML files (DOCX, XLSX, PPTX) containing GDI metafile
Summary: LibreOffice wrongly puts some gray background when reopening OOXML files (DOC...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Header-Footer
  Show dependency treegraph
 
Reported: 2024-03-06 14:24 UTC by Piotr Osada
Modified: 2024-03-24 11:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Word&Writer_side-by-side.png (111.83 KB, image/png)
2024-03-06 14:28 UTC, Piotr Osada
Details
Affected-GDI (53.42 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-03-06 14:29 UTC, Piotr Osada
Details
OOXML with affected GDI in LO (162.33 KB, image/png)
2024-03-06 14:30 UTC, Piotr Osada
Details
PDF causing problem (246.82 KB, application/pdf)
2024-03-06 14:34 UTC, Piotr Osada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Osada 2024-03-06 14:24:57 UTC
Description:
In some circumstances, working with OOXML, GDI inserted graphics can be rendered with a different appearance than the original PDF source.

Steps to Reproduce:
1. Open attached 'Malvern.pdf' in LibreOffice Draw
2. Select all, and copy
3. Insert into eg. Writer as GDI (Ctrl+Shift+V)
4. Save as OOXML format (eg. .docx)
5. Reopen

Actual Results:
A gray background is displayed in the region of footer.

Expected Results:
The footer should have a white/transparent background.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: pl-PL (en_US); UI: en-US
Calc: threaded
Comment 1 Piotr Osada 2024-03-06 14:28:04 UTC
Created attachment 192990 [details]
Word&Writer_side-by-side.png
Comment 2 Piotr Osada 2024-03-06 14:29:03 UTC
Created attachment 192991 [details]
Affected-GDI
Comment 3 Piotr Osada 2024-03-06 14:30:39 UTC
Created attachment 192992 [details]
OOXML with affected GDI in LO
Comment 4 Piotr Osada 2024-03-06 14:34:40 UTC
Created attachment 192993 [details]
PDF causing problem

This PDF was edited in Master PDF Editor. I assure, that untouched file, directly after export form Malvern software causes the same behaviour.
Comment 5 wjsim 2024-03-07 20:16:54 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

As well as:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6a064b1967e06e40be40817deff99d00c1a8554f
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded