[Bug]: Arabic lyrics display issue (reversed word order)
Preflight Checklist
- [X] I use the latest version of YouTube Music (Application).
- [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
- [X] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube
YouTube Music (Application) Version
3.7.1
Checklists
- [ ] I use the portable version of the YouTube Music Application.
- [ ] I can reproduce this issue in the official version of (WEB) YTM.
What operating system are you using?
Other Linux
Operating System Version
ArchLinux x86_64
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
- Enable the "Synced Lyrics" plugin
- Play an arabic song (example : "Ya Tabtab Wa Dalaa" by Nancy Ajram)
- Observe the lyrics in the synced lyrics view
Expected Behavior
The Arabic lyrics should be displayed in the correct order
For example, in the song "Ya Tabtab Wa Dalaa" by Nancy Ajram, this is what the first line should be :
"يا أطبطب وأدلع"
In image :
Actual Behavior
The Arabic lyrics are displayed with the word order reversed.
In my example, instead of the correct order, it appears as: "وأدلع أطبطب يا"
In image :
This makes the lyrics difficult to read and understand for users who read Arabic.
Enabled plugins
Synced Lyrics
Additional Information
I believe this issue may be related to how the app handles right-to-left (RTL) text rendering. The problem seems specific to Arabic text, as I have not encountered similar issues with lyrics in other languages.
I assume the problem arises from the fact that the lyrics display is splitting on each word, to have an animation effect, introduced in https://github.com/th-ch/youtube-music/pull/2554
Apologies for introducing this, could you confirm if it's been fixed for you by #2940 (released in 3.7.3)?
Hi, I hear in Hebrew and it has the same problem:
I use the latest, 3.8.0 version. While most of you probably don't know Hebrew, you can see by the brackets that it's wrong.
@Halbour Thank you for reporting! Could I get the title of this song so I can look into it?
https://music.youtube.com/watch?v=_fAAywXYo14 "צמוד צמוד" By Omer Adam. @kimjammer
Yeah, it's fixed, thank you
@Afoulky It was indeed fixed as it seems like; it's not synced now, though.
I hope the dev will consider it someday...! I know it may be a lot of work
Delete it all
what