Bug 326522 - allow to disable automatic search while typing in okulars search field
Summary: allow to disable automatic search while typing in okulars search field
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-10-23 18:13 UTC by Jim Jones
Modified: 2017-03-13 23:32 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Jones 2013-10-23 18:13:12 UTC
please add an option to disable automatic search in the search field
and let the user decide when okular should start to search for a given
term

Reproducible: Always
Comment 1 Albert Astals Cid 2013-10-23 18:23:23 UTC
Why?
Comment 2 Jim Jones 2013-10-23 19:58:32 UTC
because when i search in big document and i want to find for example "house" but i type "hi" in the beginning instead of a "ha" and okular jumps somwhere where "hi" is found if this "hi" is after "house", i again have to search search through the whole text and this gets very distracting when the document is more than 200 pages big. at least an option to set the timeout for the search field, when its set to zeo the user has to press "enter" to start the search.
Comment 3 Albert Astals Cid 2013-10-23 21:41:07 UTC
Ok
Comment 4 firewalker 2014-12-18 23:32:46 UTC
Also if you accidentally make a mistake to the search term the "End of document reached" will pop-up, witch is really annoying.

http://i.imgur.com/1ROtMGC.png
Comment 5 Andreas Messer 2016-04-19 12:46:50 UTC
The automatic search is also annoying when trying to type a search term manually from a page which is currently displayed in okular. Whenever you pause typing for e.g. checking what you have typed so far it starts searching and the page which you're trying to read scrolls away. Please add an option to disable automatic search. Maybe its possible to prevent at least scrolling until enter has been hit. (Highlighting is nice even when typing to check the spelling)
Comment 6 Marco Scarpetta 2016-06-08 08:28:55 UTC
I could work on this as my first contribution to KDE project. Please let me know.
Comment 7 Albert Astals Cid 2016-06-12 18:15:03 UTC
Let you know what?
Comment 8 jason 2016-07-08 16:42:37 UTC
I also would very much appreciate the ability to disable automatic search for all of the reasons listed above.
Comment 9 Albert Astals Cid 2017-03-13 23:32:13 UTC
Git commit fa315eb59ce1c8b505ceb0cda90adc81ac557fd0 by Albert Astals Cid, on behalf of Marco Scarpetta.
Committed on 13/03/2017 at 23:31.
Pushed by aacid into branch 'master'.

Allow to disable automatic search while typing
REVIEW: 129956

M  +3    -0    conf/okular.kcfg
M  +14   -0    ui/findbar.cpp
M  +2    -0    ui/findbar.h
M  +11   -2    ui/searchlineedit.cpp
M  +2    -0    ui/searchlineedit.h

https://commits.kde.org/okular/fa315eb59ce1c8b505ceb0cda90adc81ac557fd0