Bug 112992 - RTL: Textbox, spinbox and combobox input fields should be right aligned
Summary: RTL: Textbox, spinbox and combobox input fields should be right aligned
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
Depends on:
Blocks: RTL-UI
  Show dependency treegraph
Reported: 2017-10-08 10:24 UTC by Yousuf Philips (jay) (retired)
Modified: 2020-11-18 12:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

screenshot (68.72 KB, image/png)
2017-10-08 10:24 UTC, Yousuf Philips (jay) (retired)

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-10-08 10:24:49 UTC
Created attachment 136844 [details]

1. start writer in Arabic or Hebrew UI
2. notice that the text in the paragraph style, font name and font size comboboxes in the toolbar are left aligned
3. Format > Character or right-click > Character
4. notice the left alignment of text in comboboxes in the Font/first tab
5. notice the left alignment of text in textboxes in the Hyperlink/4th tab
6. notice the left alignment of text in width spinbox in the Borders/last tab

Build ID: c5a93cad149618bbd43632f1660a558c34bdbf7e
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-10-07_01:12:25
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 Lior Kaplan 2017-10-08 11:18:30 UTC
This problem isn't new, already present in 5.1.6.

When testing with Hebrew interface, the comboboxes are aligned right when expended (the list itself), but the selected option in aligned to the left (as the case shown in Yousuf's screenshot.

I wish we could have choose in the code about alignment, as font names in English or font sizes can be aligned left while other fields should be aligned right.
Comment 2 Yousuf Philips (jay) (retired) 2017-10-13 01:29:49 UTC
Maxim: As this is already working correctly for drop down lists, would it be easy to fix for other input fields?
Comment 3 Omer Zak 2017-11-15 06:01:17 UTC
Still happens in:

Build ID: 9050854c35c389466923f0224a36572d36cd471a
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.utf8); Calc: group

OS: Debian 64bit Stretch (Debian 9.2, with some backported packages)
Comment 4 QA Administrators 2018-11-16 03:42:17 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2020-11-18 12:40:27 UTC
Still repro with SAL_RTL_ENABLED=1

Arch Linux 64-bit
Build ID: bd3aeaefff5e7bdef10c4702d1f388083557614e
CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 15 November 2020