Bug 441178 - [RTL] Issues in alignment in comboboxes
Summary: [RTL] Issues in alignment in comboboxes
Status: RESOLVED FIXED
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-19 15:33 UTC by Safa Alfulaij
Modified: 2021-08-19 20:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.86


Attachments
Showing how the combobox items are wrongly aligned (50.71 KB, image/png)
2021-08-19 15:33 UTC, Safa Alfulaij
Details
Showing how the position of the item is wrong and overlapping the scrollbar. (20.23 KB, image/png)
2021-08-19 15:35 UTC, Safa Alfulaij
Details

Note You need to log in before you can comment on or make changes to this bug.
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