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
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.
*** Bug 168920 has been marked as a duplicate of this bug. ***
Bug 119201 is very similar.
Sample from this tdf#162527: <pic:cNvPr id="1960502994" name="Graphic 1" descr="[Correspondence.PrePrinted]" hidden="true"/> Sample from tdf#168920: <pic:cNvPr id="5" name="Picture 5" hidden="1"/> Sample from fixed td#f119201: <wp:docPr id="1" name="Rectangle 1" hidden="1"/>
Aron Budea committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c1f7ea0db134d63c54b581f11e843ebd5bb83b54 tdf#162527 tdf#169802 hidden image/shape in DOCX should be invisible It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/0fe7cbd55ef43718e1e189e7bf5443abf239c138 tdf#162527 tdf#169802 hidden image/shape in DOCX should be invisible It will be available in 26.2.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 205053 [details] Another sample DOCX
Aron Budea committed a patch related to this issue. It has been pushed to "libreoffice-26-2-0": https://git.libreoffice.org/core/commit/43194e580d04f325b587a14f49a66d07d3aee01f tdf#162527 tdf#169802 hidden image/shape in DOCX should be invisible It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.