Bug 162527 - w:drawing is displayed even though set to hidden
Summary: w:drawing is displayed even though set to hidden
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2024-08-20 06:28 UTC by tiefseetauchner
Modified: 2024-09-18 14:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Docx File with hidden w:drawing (24.03 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-08-20 06:28 UTC, tiefseetauchner
Details
The example file in Word 2016 and in Writer master (139.26 KB, image/png)
2024-09-18 14:28 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tiefseetauchner 2024-08-20 06:28:58 UTC
Created attachment 195910 [details]
Docx File with hidden w:drawing

Hi! We've got a OpenXML document (see attached) that includes a graphic. We're trying to hide said graphic by setting hidden="true" on the wp:docPr and pic:cNvPr. The expected behavior is that the graphic is hidden, which works in MS Word, however Writer still shows it.

Tested with LibreOfficeDev Writer 24.8.1.0

This might relate to another bug https://bugs.documentfoundation.org/show_bug.cgi?id=134902 we were tracking which has been fixed recently by Oliver Specht.

Maybe you have the time to look into that too?

Best, Lena
Comment 1 Gabor Kelemen (allotropia) 2024-09-18 14:28:10 UTC
Created attachment 196521 [details]
The example file in Word 2016 and in Writer master

Confirming with 

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 636f853bda69a889146968116b276d88f105b47f
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

Image is not hidden in Writer.