Bug 456005 - Prgress bar shows reversed when RTL
Summary: Prgress bar shows reversed when RTL
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 0.8.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-27 08:33 UTC by MohammadSaleh Kamyab
Modified: 2022-09-28 10:21 UTC (History)
1 user (show)

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


Attachments
Screenshot of Haruna in RTL desktop (537.43 KB, image/png)
2022-06-27 08:44 UTC, MohammadSaleh Kamyab
Details

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