Bug 459447

Summary: Incorrect selection by Text Selection tool on given PDF
Product: [Applications] okular Reporter: zibo Wu <zbwu1996>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: niccolo.venerandi
Priority: NOR    
Version: 22.08.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshots(Chrome, Firebox and Okular) and PDF file

Description zibo Wu 2022-09-20 15:25:46 UTC
Created attachment 152262 [details]
Screenshots(Chrome, Firebox and Okular) and PDF file

Okular(22.08.0) text selection function seems to have a bug, can't select text correctly, but using Chrome and Firebox to browse PDF files normally. 
Attachments are PDF files and screenshots in chrome and firebox.

OS: Manjaro Linux x86_64 
Kernel: 5.15.65-1-MANJARO
DE: Plasma 5.25.5
OKular: 22.08.0
Comment 1 veggero 2022-09-21 13:29:44 UTC
Can reproduce with the given PDF
Comment 2 Laura David Hurka 2022-09-21 16:27:06 UTC
Problem of XY-Cut algorithm.

The affected paragraphs are not part of a text rectangle running all across the page.
On page 2, for example, the left-most paragraph works fine.

*** This bug has been marked as a duplicate of bug 407133 ***