Bug 503133

Summary: RTL rating starts from LTR
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: easy_lad <uneasy_latitude544>
Component: generalAssignee: Christoph Feck <cfeck>
Status: CONFIRMED ---    
Severity: normal CC: felixernst, kdelibs-bugs-null, kfm-devel
Priority: NOR    
Version First Reported In: 6.13.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: choosing the first star from the right side highlights all stars instead of the first one as it would in RTL
How it is supposed to be

Description easy_lad 2025-04-21 19:04:11 UTC
Created attachment 180492 [details]
choosing the first star from the right side highlights all stars instead of the first one as it would in RTL

SUMMARY

RTL rating starts from LTR instead from the RTL side, see images attached

STEPS TO REPRODUCE
1. Right click and choose Properties / خصائص
2. Choose Details / التّفاصيل
3. Hover over the the first star from the right side (RTL)

OBSERVED RESULT

It follows LTR mode, it will highlight 5 starts


EXPECTED RESULT

1 star only when hovering over first star starting from the right.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Comment 1 easy_lad 2025-04-21 19:04:47 UTC
Created attachment 180493 [details]
How it is supposed to be
Comment 2 Felix Ernst 2025-04-22 11:25:52 UTC
I confirm that the star rating user interface does indeed not follow the right-to-left layout direction as it should.

Dolphin uses KRatingPainter for this which is in the KWidgetAddons framework, so I moved this bug there.