Created attachment 188581 [details] Example file from Word 2016 Attached example file has a drawing shape anchored in the header that was set as hidden in Word. When opened in Writer the shape on the first page is correctly not visible, but on the second and third pages it is. 1. Open attached file -> there is a blue square shape on the second and third pages Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 42f0422d19c4d0a2fb09654fb6d1d92e50f6dd5c CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded Current behavior started in 6.3 with https://git.libreoffice.org/core/+/0b9e4f6085d147c43a86d107303eea9b86e7f34c author Aron Budea <aron.budea@collabora.com> Sat Feb 23 02:01:54 2019 +0100 committer Miklos Vajna <vmiklos@collabora.com> Mon Mar 04 12:15:11 2019 +0100 tdf#119201 Don't show/print hidden shapes in DOCX Before this even the first shape was visible, so an improvement - but more should be done in this direction.
Created attachment 188582 [details] Screenshot of the document in Word and Writer
Confirmed using LO Version: 24.2.0.0.alpha0+ (46d7119b8be03968017e59d882e5671350304e15) / Ubuntu.
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9fb9bd54a82ee20f5916aa68e428e0fb67f02ed6 tdf#156484 svx,sw: fix visibility of shapes in header/footer It will be available in 24.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.
fixed on master
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b27a39e26bdb1178c6d6a3f6880b9d40a1f9b1ab tdf#156484: sw_ooxmlexport13: Add unittest It will be available in 24.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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/da7e1d686a586fa93b1e96adb3d837ea3ae59b98 tdf#156484 svx,sw: fix visibility of shapes in header/footer It will be available in 24.2.4. 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.