Bug 170642 - FILEOPEN DOC: Incorrect first-line indent in RTL numbered list
Summary: FILEOPEN DOC: Incorrect first-line indent in RTL numbered list
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOCX-Bullet-Number-Outline-Lists DOC-Bullet-Number-Lists DOC-RTL
  Show dependency treegraph
 
Reported: 2026-02-06 19:24 UTC by Jonathan Clark
Modified: 2026-03-05 02:49 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
LO 26.8 nightly on the attachment 90695 (DOC) vs attachment 90696 (DOCX) (92.95 KB, image/png)
2026-02-06 20:55 UTC, Eyal Rozenberg
Details
Results Screenshot (280.87 KB, image/png)
2026-03-05 02:49 UTC, Noah deFer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Clark 2026-02-06 19:24:53 UTC
Description:
This bug is a continuation of bug 72640.

After fixing bug 72640, most of the example documents now display correctly compared to Microsoft Word. However, one attachment still has problems: attachment 90695 [details]. After loading this file, some of the lines are given first line indent values which do not match the values as seen in Microsoft Word.

This problem seems isolated to the DOC filter. This doesn't happen for all DOC files, and it doesn't happen if the original DOC is resaved as DOCX in Microsoft Word (attachment 90696 [details]).

Steps to Reproduce:
1. Open attachment 90695 [details] (NumAlign.doc) from bug 72640 in Writer
2. Open attachment 90696 [details] (NumAlign.docx) from bug 72640 in Writer
2. Compare the output between the two files; they should look the same

Actual Results:
The first line indent values differ between the two files.

Expected Results:
NumAlign.doc should look the same as NumAlign.docx.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 6704b8bb59050ba9867637d93c16e3e7163983f5
CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 1 Eyal Rozenberg 2026-02-06 20:55:22 UTC
Created attachment 205404 [details]
LO 26.8 nightly on the attachment 90695 [details] (DOC) vs attachment 90696 [details] (DOCX)

Adding comparative screenshot pair from the latest build:

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 73a558942d519bd72ef8fb8891ceae559654cd6a
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: CL threaded
Comment 2 Eyal Rozenberg 2026-02-06 21:01:53 UTC
If we look at the first paragraph in both files, we see:

       Indent    First Line spacing
DOC    2.5 cm    -2.5cm
DOCX   2.5 cm    -0.76cm

And I note that 0.76cm is about 0.3".
Comment 3 Noah deFer 2026-03-05 02:44:23 UTC
I was able to reproduce the bug in both of the current stable and master versions. Additionally the stable and master versions had different results from one another.

Version: 26.2.1.2 (X86_64)
Build ID: 620(Build:2)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 Noah deFer 2026-03-05 02:49:08 UTC
Created attachment 205927 [details]
Results Screenshot

I added an image comparing the different results of loading the DOC and DOCX files on the stable and master versions.