Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arabic Text Alignment Issue in Quran Verses Plugin on KDE (Variety 0.8.12) #718

Open
mohammed-switi opened this issue Aug 23, 2024 · 0 comments

Comments

@mohammed-switi
Copy link

Here's a filled-out bug report template for you:


Version of Variety
0.8.12

Describe the bug
When displaying Arabic text using the Quran Verses plugin, the text alignment is not properly centered on the screen. Specifically, when the left-right and top-bottom sliders are set to the middle, the text does not consistently stay centered. This issue is more pronounced with longer verses, where the text shifts more to the right instead of staying in the middle of the screen.

Context
This misalignment happens every time an Arabic verse is displayed, especially with longer texts. The issue occurs regardless of whether Variety is started during the computer's boot or manually. The problem is tied to the display of Arabic text, which may not be correctly handled in terms of bidirectional text rendering or alignment within the Variety interface.

To Reproduce

  1. Install and activate the Quran Verses plugin from https://github.com/mohammed-switi/Variety-Quran-Verses-Plugin.
  2. Set the left-right and top-bottom sliders to the middle in the Variety settings.
  3. Observe the alignment of the Arabic text displayed on the screen, especially with longer verses.

Attach Variety's log file
Please find the attached log file with the debug output: ~/.config/variety/variety.log. The log includes the sequence of actions taken while reproducing the bug.

Desktop environment and version
KDE 6.1.4

OS name and version
Arch Linux
Output of cat /etc/issue && cat /etc/os-release:

Arch Linux \r (\l)

NAME="Arch Linux"
   2   │ PRETTY_NAME="Arch Linux"
   3   │ ID=arch
   4   │ BUILD_ID=rolling
   5   │ ANSI_COLOR="38;2;23;147;209"
   6   │ HOME_URL="https://archlinux.org/"
   7   │ DOCUMENTATION_URL="https://wiki.archlinux.org/"
   8   │ SUPPORT_URL="https://bbs.archlinux.org/"
   9   │ BUG_REPORT_URL="https://gitlab.archlinux.org/groups
       │ /archlinux/-/issues"
  10   │ PRIVACY_POLICY_URL="https://terms.archlinux.org/doc
       │ s/privacy-policy/"
  11   │ LOGO=archlinux-logo

Screenshots
Please see the attached screenshots showing the misalignment of Arabic text, especially when longer verses are displayed.

Attached files
I've attached a few sample images that demonstrate the issue with text alignment.
ksnip_20240823-102453
ksnip_20240823-102523
ksnip_20240823-102607
ksnip_20240823-102700
settings-qouets

Additional context
This issue might be related to the handling of right-to-left text alignment or bidirectional text rendering in Variety. Improving the centering logic or adding better support for Arabic script alignment could resolve this issue. The bug negatively impacts the readability and aesthetic presentation of the Quran Verses plugin.

Thank you.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant