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.
Set the left-right and top-bottom sliders to the middle in the Variety settings.
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:
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.
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.
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
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
: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.
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.