Bug 354133 - Search as you type generates multiple anoying "end of document found, start at beginning?"
Summary: Search as you type generates multiple anoying "end of document found, start a...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.21.3
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 15:49 UTC by Lucas Vinicius Hartmann
Modified: 2015-10-20 21:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Vinicius Hartmann 2015-10-20 15:49:31 UTC
While search as you type is useful, if the entered text is not found in the rest of the document (current position and forward) the current implementation generates multiple queries to check whether the user wants to start search from the beginning of the document.


Reproducible: Always

Steps to Reproduce:
1. Open any document (tested with PDF).
2. Scroll down several pages.
3. Try typing anything-that_comes_to'your=mind.

Actual Results:  
Query windows at every key typed, if text is not found.

Expected Results:  
Assume default answer to either yes or no, do the search, and fail silently. The red highlight on the search text entry should be enough clue.
If the user still hits the ENTER key then the search should generate an error/warning/query window.