Bug 169802 - Text still flows around hidden shape in DOCX
Summary: Text still flows around hidden shape in DOCX
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Aron Budea
URL:
Whiteboard: target:26.8.0 target:26.2.1
Keywords:
Depends on:
Blocks: OOXML-Shapes DOCX-Anchor-and-Text-Wrap 170351
  Show dependency treegraph
 
Reported: 2025-12-03 04:54 UTC by Aron Budea
Modified: 2026-01-15 04:32 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample DOCX (19.58 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-12-03 04:54 UTC, Aron Budea
Details
Comparison screenshot (Word vs. Writer) (136.74 KB, image/png)
2025-12-03 04:55 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2025-12-03 04:54:31 UTC
Created attachment 204398 [details]
Sample DOCX

After the fix to bug 119201 the shape isn't shown anymore, but it's still considered for layouting if the text was supposed to wrap around the shape (if the shape was visible).

Attaching a slightly modified sample that exhibits the bug.

Observed using LO 26.2.0.0.alpha1+ (2025-11-22), 3.3.0 / Windows.
Comment 1 Aron Budea 2025-12-03 04:55:12 UTC
Created attachment 204399 [details]
Comparison screenshot (Word vs. Writer)
Comment 2 Commit Notification 2026-01-14 17:27:28 UTC
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.
Comment 3 Commit Notification 2026-01-15 04:20:14 UTC
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.