Bug 167505 - Different text distribution on file-open of DOCX compared to ODT (Justified Text)
Summary: Different text distribution on file-open of DOCX compared to ODT (Justified T...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Smart-Justify
  Show dependency treegraph
 
Reported: 2025-07-14 12:20 UTC by Telesto
Modified: 2025-07-26 08:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample (1.00 MB, application/vnd.oasis.opendocument.text)
2025-07-14 14:39 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2025-07-14 12:20:18 UTC
Description:
Different text distribution on Save As DOCX and reload

Steps to Reproduce:
1. Open the attached file
2. Save as DOCX (2010-365)
3. File -> Reload -> Notice the position of the yellow marked text

Actual Results:
More words on a single line of text

Expected Results:
Same as with ODT


Reproducible: Always


User Profile Reset: No

Additional Info:
Found in
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b99f595b47d1a60e6af6ba742665a92803b7c68b
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

not in
Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community
Build ID: 35f19e5cb93ce218787904e99c2bedfd40e725cc
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 1 Mike Kaganski 2025-07-14 12:53:31 UTC
Without seeing a (still absent) attachment, I assume that it's the MS custom justification algorithm, that is indeed enabled in MS formats, but is not enabled by default in ODF (and is controlled by a compat option) -> would be NOTABUG.
Comment 2 Telesto 2025-07-14 14:39:54 UTC
Created attachment 201790 [details]
Sample
Comment 3 Telesto 2025-07-14 19:44:30 UTC
The exported DOCX looks as the ODT in Writer in Word 365 Online (build 20250710.2). OTOH, if I Print or Export to PDF in Word Online the result will be nearly identical to the DOCX in Writer (not 100%, though)