Bug 465821 - Copy pasting gives garbled text
Summary: Copy pasting gives garbled text
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 22.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 08:52 UTC by Filippo Volpe
Modified: 2023-02-17 07:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
minimum reproducible case (60.27 KB, application/pdf)
2023-02-16 08:52 UTC, Filippo Volpe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filippo Volpe 2023-02-16 08:52:41 UTC
Created attachment 156289 [details]
minimum reproducible case

SUMMARY

When copy pasting from a specific PDF the text comes out as random symbols on paste. Also find function doesn't recognize that text. Both features does work if I open the same file on firefox.

STEPS TO REPRODUCE
1.  Open the PDF attached in okular
2.  Select text
3.  ctrl+c
4.  open kate
5.  ctrl+v

OBSERVED RESULT
On kate the only random symbols are pasted

EXPECTED RESULT
The selected text is pasted as I can read it.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.11-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
The same feature works as intended on firefox and text is correctly selectable on okular so I don't think it's a file problem.
Comment 1 Justin Zobel 2023-02-17 07:40:49 UTC
Can confirm this issue.