[okular] [Bug 442046] New: copy-paste from LTR languages bring reversed text

Adam Golański bugzilla_noreply at kde.org
Sun Sep 5 18:39:19 BST 2021


https://bugs.kde.org/show_bug.cgi?id=442046

            Bug ID: 442046
           Summary: copy-paste from LTR languages bring reversed text
           Product: okular
           Version: 21.08.0
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: adam.golanski at gmail.com
  Target Milestone: ---

SUMMARY

Copying arabic and hebrew text strings from Okular to paste it in another
program makes them reversed and garbled. Changing LTR settings doesn't help.
I've tested this with Foxit PDF Reader and it worked OK.  


STEPS TO REPRODUCE
1. select and copy to clipboard arabic or hebrew text in Okular, for example
אשר, האיש—אשר לא הלך, בעצת רשעים
ال َق ِدي ْ 


2. paste it to Libre Office or Google Docs

OBSERVED RESULT

you're getting something like 
םיעשר תצעב ,ךלה אל רשא—שיאה ,רשא
ر ْ يِ دق َ لا

(yeah, in Arabic its really horrible :D)

EXPECTED RESULT

it should keep correct LTR flow:
אשר, האיש—אשר לא הלך, בעצת רשעים
ال َق ِدي ْ 



SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list