Bug 305730

Summary: find broken after reloading PDF
Product: [Applications] okular Reporter: cmertes
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: fabiodurso
Priority: NOR    
Version First Reported In: 0.14.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 4.9.0
Sentry Crash Report:

Description cmertes 2012-08-24 17:04:35 UTC
When searching a PDF document with "Find" (Ctrl+F) for any word and then changing the PDF file underneath, find won't work after reloading the file (either automatically with inotify or manually).

Reproducible: Always

Steps to Reproduce:
1. Load PDF
2. Hit Ctrl+F, enter a word that occurs in the document, hit enter
3. Change PDF
4. Reload
5. Hit enter again in the search field or enter new word
Actual Results:  
The search yields no results.

Expected Results:  
Existing strings should be found and displayed.

Changing PDF files while displaying them is common with pdflatex/lualatex.
Comment 1 Fabio D'Urso 2012-08-24 18:20:05 UTC
Already fixed in Okular 0.15 (ie KDE 4.9) by commit a6f57c965b06be86dcbc01dba8fb3b91c597f669
Thank you for caring about Okular :)