Bug 113823

Summary: Tools > Options > Justification - wrong preview for Left/Right justification
Product: LibreOffice Reporter: Omer Zak <w1>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: trivial CC: kaplanlior, philipz85, w1, xiscofauli
Priority: medium    
Version: 6.0.0.0.alpha1+   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 43808    
Attachments: Format > Paragraph... > Justification dialog showing the problem
no reproducible

Description Omer Zak 2017-11-14 11:57:29 UTC
Description:
Open LibreOffice with Hebrew UI and CTL enabled for Hebrew.
Format > Paragraph... > Justification

The previews for Left Justification and Right Justification are opposite relative to what they should have been.

Steps to Reproduce:
1. Set LibreOffice to Hebrew UI
2. Enable CTL for Hebrew
3. Format > Paragraph... > Justification

Actual Results:  
Preview shows wrong justification when Left or Right justifications are selected.

Expected Results:
Preview shows correct justification.


Reproducible: Didn't try


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36
Comment 1 Omer Zak 2017-11-14 11:59:49 UTC
Created attachment 137746 [details]
Format > Paragraph... > Justification dialog showing the problem

In this screenshot, right justification was selected, yet the preview shows left justification.
Comment 2 Xisco FaulĂ­ 2017-11-14 12:27:17 UTC
Created attachment 137747 [details]
no reproducible

I can't reproduce it in

Version: 6.0.0.0.alpha1+
Build ID: 9050854c35c389466923f0224a36572d36cd471a
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: th-TH (ca_ES.UTF-8); Calc: group

using SAL_RTL_ENABLED=1
Comment 3 Xisco FaulĂ­ 2017-11-14 12:28:41 UTC
In your screenshot, justification is set to right, it should be set to left...
Comment 4 Omer Zak 2017-11-14 12:55:05 UTC
When I set justification to left, the preview shows right justification.
I did not add a screenshot for this case as well.

By the way, this bug is similar to https://bugs.documentfoundation.org/show_bug.cgi?id=107567 (which reports wrong preview in the Indents & Spacing tab).
Comment 5 Yousuf Philips (jay) (retired) 2017-11-15 22:24:27 UTC
Yes i can repo it with arabic UI, but this will likely be resolved when bug 107567 is fixed.
Comment 6 Eyal Rozenberg 2018-09-17 20:45:09 UTC
I'm not seeing this bug with:

Version: 6.1.1.2
Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-GB (en_GB.UTF-8); Calc: group threaded

Based on the last comment, marking as fixed - but feel very free to reopen if you still set it with v6.1.1.2 or later.