Bug 155261 - Wrap fails at certain image sizes in DOCX if exported with master (not in ODT). Shape in front of text
Summary: Wrap fails at certain image sizes in DOCX if exported with master (not in ODT...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2023-05-12 10:50 UTC by Telesto
Modified: 2023-05-16 17:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-05-12 10:50:01 UTC
Description:
Wrap fails at certain image sizes in DOCX (not in ODT). Shape in front of text

Steps to Reproduce:
1. Open attachment 164476 [details]
2. Save as DOCX
3. Select the smiley
4. Drag the right bottom corner to expand the image

Actual Results:
Frame before text (no optimal wrap)

Expected Results:
Optimal wrap similar to ODT


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 99a88c9e55872214ce01d89447d18708e47e956b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

and in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 1 Telesto 2023-05-12 10:52:44 UTC
This fails if the document is exported with Master (7.6.0.0) and opened with older versions.

If you export the same file to DOCX with 4.4.7.2 it works fine. But not if you reimport the 4.4.7.2 DOCX into Master
Comment 2 Buovjaga 2023-05-16 17:21:35 UTC
Bibisected with Windows 5.1 repo to d9aed0bc2e741fa02a6ffdf90193aae7ce471e52
Related: tdf#93676 msword wraps slightly differently than us

The same commit was bibisected for bug 135155.

This was a bit tricky to test as it depended on how much you resized the smiley. I usually resized it even three times to be sure. It seems to be a lack of refresh somehow.