Bug 447186 - QtWidgets KCM titles are inappropriately aligned to left in RTL mode
Summary: QtWidgets KCM titles are inappropriately aligned to left in RTL mode
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2021-12-18 16:24 UTC by Zayed Al-Saidi
Modified: 2023-05-12 09:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The title align to left in RTL mode (217.26 KB, image/png)
2021-12-18 16:24 UTC, Zayed Al-Saidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zayed Al-Saidi 2021-12-18 16:24:39 UTC
Created attachment 144651 [details]
The title align to left in RTL mode

SUMMARY
***
The title of kcm modules are align to left in right-to-left mode (i.e. Arabic language for example). please see the attached screenshot.  However, not all kcm modules have this issue. The following ones are showing title to the right in RTL mode (i.e. the correct behavior) :
1- Windows Management.
2- Shortcuts
3- Backup
4-  KDE wallet
5- Network Settings
6- Connections
7- Printers
8-  KDE connect
9- Input Device 
10- Display and Screen
11- Power Management
12- External Storage


***


STEPS TO REPRODUCE
1. if your in English environment run systemsettings5 -reverse  
2. 
3. 

OBSERVED RESULT
Title is align to the left

EXPECTED RESULT
Title should align to right

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 3 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 4.9 غ.بايت of RAM
Graphics Processor: llvmpipe

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-11 21:32:11 UTC
Cannot reproduce for any QML KCMs with current git master. Can reproduce with QtWidgets KCMs though.
Comment 2 Zayed Al-Saidi 2022-01-12 12:14:19 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce for any QML KCMs with current git master. Can reproduce
> with QtWidgets KCMs though.

Confirmed. I can't reproduce it in Neon unstable. It seems it was fixed somehow in KDE Frameworks Version: 5.91.0. Also, I can reproduce it with QtWidgets KCMs.

My current software versions:
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 3 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 4.9 غ.بايت of RAM
Graphics Processor: llvmpipe
Comment 3 Zayed Al-Saidi 2023-05-12 09:21:57 UTC
I can't reproduce it in:
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8