Bug 456005

Summary: Prgress bar shows reversed when RTL
Product: [Applications] Haruna Reporter: MohammadSaleh Kamyab <mskf1383>
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED FIXED    
Severity: normal CC: mskf1383
Priority: NOR    
Version First Reported In: 0.8.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of Haruna in RTL desktop

Description MohammadSaleh Kamyab 2022-06-27 08:33:13 UTC
SUMMARY
When desktop language is set to a RTL language like Persian or Arabic, the progress bar (and also sound volume bar) shows left-to-right. It works right-to-left, but at the start, all of the bar is colored and then, become uncolored.

STEPS TO REPRODUCE
1. Set an RTL language like Persian or Arabic
2. Open a media and play it
3. See

OBSERVED RESULT
The progress bar is fully colored at start (like it is finished), but after, it become uncolored from right.

EXPECTED RESULT
It be fully uncolored at the start, and then, become colored from right to left.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Gnu/Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Comment 1 MohammadSaleh Kamyab 2022-06-27 08:44:25 UTC
Created attachment 150182 [details]
Screenshot of Haruna in RTL desktop
Comment 2 MohammadSaleh Kamyab 2022-06-27 08:47:57 UTC
(In reply to MohammadSaleh Kamyab from comment #1)
> Created attachment 150182 [details]
> Screenshot of Haruna in RTL desktop

(I mean "wrong place" for "wrong color", not the color itself)
Comment 3 george fb 2022-09-28 10:21:24 UTC
Git commit b5548857bc042a367ef076b069f646761bcee07f by George Florea Bănuș.
Committed on 28/09/2022 at 10:21.
Pushed by georgefb into branch 'master'.

footer: fix seek bar and volume bar right to left behaviour

M  +10   -7    src/qml/HProgressBar.qml
M  +2    -4    src/qml/VolumeSlider.qml

https://invent.kde.org/multimedia/haruna/commit/b5548857bc042a367ef076b069f646761bcee07f