Bug 454552 - Okular Typewriter tool reversing RTL text
Summary: Okular Typewriter tool reversing RTL text
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2022-05-29 08:00 UTC by Yaron Shahrabani
Modified: 2022-05-29 13:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Hebrew reversed (6.53 KB, image/png)
2022-05-29 08:00 UTC, Yaron Shahrabani
Details
Arabic reversed and unjoined (8.53 KB, image/png)
2022-05-29 08:01 UTC, Yaron Shahrabani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaron Shahrabani 2022-05-29 08:00:49 UTC
Created attachment 149303 [details]
Hebrew reversed

STEPS TO REPRODUCE
1. Open your favorite PDF file
2. Launch the Typewriter tool (or hit Alt+5)
3. Click a desired area for the annotation
4. Write an annotation in either Hebrew, Arabic, Persian, Urdu or any other RTL language
5. Click OK and observe the results

OBSERVED RESULT
The text is reversed

EXPECTED RESULT
The text should appear as typed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Qonos 21.2.6
KDE Plasma Version: 2.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
This bug is preserved when saving the PDF
Comment 1 Yaron Shahrabani 2022-05-29 08:01:54 UTC
Created attachment 149304 [details]
Arabic reversed and unjoined
Comment 2 Yaron Shahrabani 2022-05-29 13:14:40 UTC
Another comments from the Israeli Linux community on Telegram:

Q: Does adding RLM/RLE/RLO at the beginning changes that behavior?
A: No.

Q: Does switching the Right to Left setting on or off changes that behavior?
A: No.