Bug 151857

Summary: Paragraph direction, CTL font reset on paragraph style change while other direct formatting isn't
Product: LibreOffice Reporter: AvidSeeker <avidseeker7>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: telesto
Priority: medium    
Version: 7.3.6.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 43808    

Description AvidSeeker 2022-11-01 17:30:14 UTC
1. Enable Complex Text Layout
2. Set direction to RTL. Type some words (e.g: in Arabic). Set some font.
3. Change paragraph style (e.g: to H1)

Expected:
* Continue text with same font, same text direction.

Result:
* Font changes, text direction is switched back to LTR

All paragraph styles causes this bug: Title, Subtitle, H1, H2, H3, H4, Quotation, Preformatted text.
Comment 1 Eyal Rozenberg 2022-11-01 18:35:35 UTC
This happens with any RTL language.

Note that other aspects of direct formatting _are_ preserved when switching styles, e.g. underlining, bold/non-bold.

Also note that font family is character DF, and direction is paragraph DF, which is interesting.