Bug 377487 - Find and highlight all instances of a searched word
Summary: Find and highlight all instances of a searched word
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: HI wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: usability
: 122599 188164 238123 398176 401530 422893 423748 428222 481700 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-11 10:13 UTC by kritinsai1
Modified: 2024-02-23 22:16 UTC (History)
24 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Search panel in Gnome Evince (similar to "Advanced search" in Adobe Acrobat) (22.69 KB, image/png)
2017-03-11 12:39 UTC, Miguel
Details
Highlight all results in firefox (580.61 KB, image/png)
2023-06-07 17:45 UTC, Alibeg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kritinsai1 2017-03-11 10:13:24 UTC
When using ctrl-f to search, could you show a list of all matching lines along with some context, with an option to click and go to that page?

This is quite useful when figure numbers are referred in a book at multiple places and finding the figure requires navigating through all previous matches.
Comment 1 Oliver Sander 2017-03-11 10:24:49 UTC
Have you tried the search field on top of the thumbnails view?  That one does filter out all pages with a match.
Comment 2 kritinsai1 2017-03-11 10:29:30 UTC
I didn't know of that, it is quite similar to what I wanted, thank you.
Comment 3 Miguel 2017-03-11 12:38:49 UTC
I didn't know this feature either, but it is not sufficient.
Look at the "search" panel in Evince (Gnome), I am adding a screenshot (sorry, in French). It is similar similar (but better, in my opinion) to the "advanced search" tool in Adobe Acrobat (Reader).
Comment 4 Miguel 2017-03-11 12:39:48 UTC
Created attachment 104506 [details]
Search panel in Gnome Evince (similar to "Advanced search" in Adobe Acrobat)
Comment 5 azrdev 2017-10-06 13:05:12 UTC
thx for pointing out the workaround. This seems to be already in the tracker: <https://bugs.kde.org/show_bug.cgi?id=377487>
Comment 6 Christoph Feck 2018-02-14 20:33:48 UTC
Is bug 238123 a duplicate?
Comment 7 Nate Graham 2018-02-14 20:34:46 UTC
Looks like it to me.
Comment 8 Nate Graham 2018-09-04 17:06:46 UTC
*** Bug 398176 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2018-09-04 17:07:29 UTC
*** Bug 238123 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2018-11-29 16:55:58 UTC
*** Bug 401530 has been marked as a duplicate of this bug. ***
Comment 11 Michael D 2019-06-27 08:30:23 UTC
(In reply to Oliver Sander from comment #1)
> Have you tried the search field on top of the thumbnails view?  That one
> does filter out all pages with a match.

This works nicely but has a major problem: discoverability.
Comment 12 David Hurka 2020-06-12 20:44:19 UTC
*** Bug 422893 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2020-07-02 00:02:43 UTC
*** Bug 423748 has been marked as a duplicate of this bug. ***
Comment 14 Dietrich Mueller 2020-07-03 10:18:26 UTC
*** This bug has been confirmed by popular vote. ***
Comment 15 Nate Graham 2020-10-25 17:28:40 UTC
*** Bug 428222 has been marked as a duplicate of this bug. ***
Comment 16 Clarc 2020-10-25 17:42:21 UTC
(In reply to Michael D from comment #11)
> (In reply to Oliver Sander from comment #1)
> > Have you tried the search field on top of the thumbnails view?  That one
> > does filter out all pages with a match.
> 
> This works nicely but has a major problem: discoverability.

Why?
1. I would suggest enabling it by default, it's a very common (and very useful) feature in pdf-readers anyways.
2. Even if we don't auto-enable, there's this nice little "Options"-thing in the bottom right corner of the screen. In my opinion, it makes perfect sense to put it there. It's where I first searched for it. (after finding out it wasn't enabled by default)
Comment 17 postix 2021-11-24 14:04:31 UTC
*** Bug 326087 has been marked as a duplicate of this bug. ***
Comment 18 postix 2021-11-24 14:04:45 UTC
*** Bug 122599 has been marked as a duplicate of this bug. ***
Comment 19 postix 2021-11-24 14:05:17 UTC
*** Bug 188164 has been marked as a duplicate of this bug. ***
Comment 20 vz33 2023-02-15 01:06:00 UTC
I like this function of list all sentences nearby when search a keyword on the sidebar, which is easy to read on the sidebar, instead of checking per page when finding a keyword. This is different from the find function in Thumbnails. Thank you.
Comment 21 Alibeg 2023-06-07 17:44:37 UTC
Maybe I am commenting on a wrong bug but this bug is the one I got when searching for "make okular highlight all search results". It would be nice to be able to see all instances of the found words on the screen at the same time, just like firefox does it when it has multiple hits near one another. I expect browser search to be very common place for people to search for words in text and that behavior is something I am very used to. Also, as a developer, I have that feature in vi/emacs/other text editors.

Options in the lower right corner seems like a perfect spot to enable this behavior. See attachment for the firefox behavior.
Comment 22 Alibeg 2023-06-07 17:45:29 UTC
Created attachment 159520 [details]
Highlight all results in firefox
Comment 23 Nate Graham 2024-02-23 22:16:07 UTC
*** Bug 481700 has been marked as a duplicate of this bug. ***