Summary: | Display the number of occurrences of the search term | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Clarc <f.thaler> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | aacid, kubry, nate, postix |
Priority: | NOR | ||
Version First Reported In: | 1.11.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Clarc
2020-10-25 09:36:39 UTC
To do this you need to search the whole document, which in 2000 pages documents takes a while, if we do this you will complain that search is suddently slow for no reason when the word you were seraching is just there in the first page Yeah. I guess it could lazily populate that number only after the search has completed. (In reply to Albert Astals Cid from comment #1) > To do this you need to search the whole document, which in 2000 pages > documents takes a while, if we do this you will complain that search is > suddently slow for no reason when the word you were seraching is just there > in the first page 1. You wouldn't have to search them all before displaying the results. It could simply be counting upwards while finding new results. If you look at other pdf-viewers, they do the same thing and it doesn't noticably change the speed. 2. Now that we know that this doesn't slow down, I have to agree: This feature probably is useless, if you try to find a very common word ("the") in a 200-Page document. However: a. As we have established, it doesn't noticeably slow down the searching process, thus it doesn't do any harm. b. It really helps when searching somewhat common / uncommon words, no matter the document size. Which is why it should be included. (In reply to Nate Graham from comment #2) > Yeah. I guess it could lazily populate that number only after the search has > completed. I'm not sure what you mean by that. In a recent review by an author of books (https://www.dedoimedo.com/computers/history-book-linux-foss-other.html): Writing a nonfiction history book with (mostly) Linux and FOSS (...) Firefox would load documents in about 1/5th of the time it took Okular to display the exact same files. Using the search function, Firefox would find the desired strings more quickly, and it also shows the number of matching entries. Okular's search was slow, and it does not display how many results it found, one or ninety-three. |