Bug 403514 - [Feature Request] advanced search - multiple strings at a time - match any of the words/strings
Summary: [Feature Request] advanced search - multiple strings at a time - match any ...
Status: RESOLVED NOT A BUG
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:
: 403513 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-22 19:51 UTC by vjera.turk
Modified: 2019-01-26 00:39 UTC (History)
2 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 vjera.turk 2019-01-22 19:51:31 UTC
SUMMARY 

I wish there would be an advanced search option - searching several words (strings) at a time. Adobe has it by the name "match any of the words" as explained here: https://superuser.com/questions/843309/can-i-somehow-search-few-words-at-the-same-timealternative-in-foxit-reader-or.

Regular(standard) search would acquire searching for example: "dog", viewing results, then "cat", viewing results, then "monkey"... - which would mean when inspecting results you wold have to go through entire file 3 times.

I wish to input a list of words (strings) "cat", "dog", "monkey", "baby lion", and as I go through results, one by one, have all of the matching strings displayed, requiring going trough entire file only once.

STEPS TO REPRODUCE

1. Open a 100+ pages pdf file

2. Search for fairly common word in it
3. Inspect all the results

4. Search for another fairly common word
5. Inspect all the results

6. repeat step 4., 5. and 6.

OBSERVED RESULT
You are required to go trough entire file as many times as there are words/strings you wish to find.

EXPECTED RESULT
When in search for multiple strings occurrences having to go trough file only once. Having all the results displayed in order they occur in file. For example "dog", "cat", "dog", "baby lion", "cat", "monkey"...

SOFTWARE/OS VERSIONS
Windows: -
MacOS: -
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:
Comment 1 vjera.turk 2019-01-22 19:52:14 UTC
*** Bug 403513 has been marked as a duplicate of this bug. ***
Comment 2 Albert Astals Cid 2019-01-25 22:09:24 UTC
Or you could use the thumbnail search feature that has exactly what you want
Comment 3 vjera.turk 2019-01-26 00:13:39 UTC
My bad, I should have put in more effort to find it. I'm using it now and it is awesome. I'm sorry for the false alarm and thank you very much for Your answer. It is not something I need right now, but could I make it work in case of "baby lion", "baby zebra"? 

I went through Okular Handbook (https://docs.kde.org/trunk5/en/kdegraphics/okular/okular.pdf) real quick and haven't find any information on Thumbnail search, perhaps I missed it, but in my opinion this could go under Advanced Features- but now I am no longer sure if I've missed this feature in all or some of other Linux PDF readers I've checked as well (in search of this particular feature), or they are relay not offering it :| 

Thank you once again, I'm really happy it turned out my favorite PDF reader already has this feature :)
Comment 4 Albert Astals Cid 2019-01-26 00:39:34 UTC
What you are suggesting is a new method of search for multiple groups of strings at the same time, that'd be doable i guess, but don't see myself implementing it.

You may want to open a new wish describing it in case someone has time to work on it.