Bug 441178

Summary: [RTL] Issues in alignment in comboboxes
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Safa Alfulaij <safa1996alfulaij>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, kde, nate, noahadvs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.86
Attachments: Showing how the combobox items are wrongly aligned
Showing how the position of the item is wrong and overlapping the scrollbar.

Description Safa Alfulaij 2021-08-19 15:33:31 UTC
Created attachment 140841 [details]
Showing how the combobox items are wrongly aligned

SUMMARY
The items in a combobox alignes to the left even though the text is Arabic (RTL).
Text in items should follow Unicode rules where the first strong character defines the direction and alignment.
Please see base Qt Quick Controls with this data:
تجربة
Test
تجربة Test
Test تجربة

STEPS TO REPRODUCE
1. Open plasma config dialog with comboboxes.
Comment 1 Safa Alfulaij 2021-08-19 15:35:23 UTC
Created attachment 140842 [details]
Showing how the position of the item is wrong and overlapping the scrollbar.
Comment 2 Bug Janitor Service 2021-08-19 20:42:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/88
Comment 3 Nate Graham 2021-08-19 20:53:56 UTC
Git commit 49b481162753bccb5faa9c088e2047a90ba78dfe by Nate Graham.
Committed on 19/08/2021 at 20:39.
Pushed by ngraham into branch 'master'.

Fix combobox popup in RTL mode

The LayoutMirroring property was not automatically bubbling down to the
popup object and its children.
FIXED-IN: 5.86

M  +3    -0    org.kde.desktop/ComboBox.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/commit/49b481162753bccb5faa9c088e2047a90ba78dfe