Bug 165199 - ODT paragraph rendered RTL in LO but LTR in MS Office
Summary: ODT paragraph rendered RTL in LO but LTR in MS Office
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles 164503
  Show dependency treegraph
 
Reported: 2025-02-11 14:10 UTC by Eyal Rozenberg
Modified: 2025-10-24 20:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ODT document exhibiting the issue (in LO Writer and in MSO Word) (9.16 KB, application/vnd.oasis.opendocument.text)
2025-02-11 14:10 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-02-11 14:10:52 UTC
Created attachment 199143 [details]
ODT document exhibiting the issue (in LO Writer and in MSO Word)

Reproduction instructions:

1. Create a new Writer document
2. Type in "Hello"
3. Modify the Default Paragraph Style to have Justified alignment (this step is not strictly necessary, it just improves issue visibility).
4. Save as ODT (The result of doing this is attached).
5. Open the ODT in Microsoft Office Word.

Expected behavior:
In both Writer and MS Word, the paragraph is directed RTL (and starts on the right side of the page).

Actual behavior:
In Writer (24.8.4.2), the paragraph is directed RTL (and starts on the right side of the page);
but in MS Word (2408 Build 16.0.17928.20336 32-bit), the paragraph is directed LTR (and starts on the left side of the page).

I am not sure whether the bug is in MS Word, or in the way we represent the style information and make sure there's an appropriate fall-back in apps without page styles.
Comment 1 Buovjaga 2025-10-24 19:55:21 UTC
Is this a duplicate of the just-fixed bug 118350 ?
Comment 2 Eyal Rozenberg 2025-10-24 20:17:18 UTC
(In reply to Buovjaga from comment #1)
> Is this a duplicate of the just-fixed bug 118350 ?

That one was about documents created with MSO and opened in LO, this one is about documents created with LO and opened in MSO. Also, it involves the Justified alignment.

However - I cannot reproduce it myself using the reproduction instructions. So, marking WORKSFORME.
Comment 3 Eyal Rozenberg 2025-10-24 20:17:55 UTC
(In reply to Eyal Rozenberg from comment #2)
> I cannot reproduce it myself 

With LO 25.8.1.1 on Windows for example.