flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Bug]: Arabic lyrics display issue (reversed word order)

Open Afoulky opened this issue 11 months ago • 5 comments

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

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

  1. Enable the "Synced Lyrics" plugin
  2. Play an arabic song (example : "Ya Tabtab Wa Dalaa" by Nancy Ajram)
  3. 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 : 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 : 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.

Afoulky avatar Jan 04 '25 17:01 Afoulky

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

ArjixWasTaken avatar Jan 04 '25 18:01 ArjixWasTaken

Apologies for introducing this, could you confirm if it's been fixed for you by #2940 (released in 3.7.3)?

kimjammer avatar Mar 03 '25 01:03 kimjammer

Hi, I hear in Hebrew and it has the same problem:

Image

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 avatar Mar 31 '25 12:03 Halbour

@Halbour Thank you for reporting! Could I get the title of this song so I can look into it?

kimjammer avatar Mar 31 '25 19:03 kimjammer

https://music.youtube.com/watch?v=_fAAywXYo14 "צמוד צמוד" By Omer Adam. @kimjammer

Halbour avatar Apr 01 '25 16:04 Halbour

Yeah, it's fixed, thank you

Afoulky avatar Apr 05 '25 19:04 Afoulky

@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

Halbour avatar Apr 06 '25 07:04 Halbour

Delete it all

what

Halbour avatar Jul 28 '25 10:07 Halbour