Bug 508005

Summary: search for multiple words does not work across line breaks
Product: [Applications] okular Reporter: Randy Yates <yates>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example PDF with words across multiple lines

Description Randy Yates 2025-08-08 04:08:31 UTC
Created attachment 183875 [details]
example PDF with words across multiple lines

SUMMARY

If a search is for multiple words, and the words are present in the document but split across a line break, okular does not find the specified words.

Make okular find the words in this scenario.

STEPS TO REPRODUCE
1.  open attached pdf document which has multiple lines
2.  search for "or total".

OBSERVED RESULT

Search does not find the words.

EXPECTED RESULT

Search finds the words.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  25.04.0
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: