Bug 326087 - Wishlist: forward search and line highlighting
Summary: Wishlist: forward search and line highlighting
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
Keywords: usability
Depends on:
Reported: 2013-10-16 10:10 UTC by ioewe-mail
Modified: 2022-11-17 20:56 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description ioewe-mail 2013-10-16 10:10:12 UTC
When using forward search with Latex (e.g. from Auctex), Okular just opens the correct page. It would be tremendously helpful if additionally the correct line could be marked or highlighted. Not sure where I have seen that feature, but some PDF viewers (i think) have it implemented so it may be theoretically possible.

Reproducible: Always
Comment 1 Albert Astals Cid 2013-10-16 21:16:27 UTC
You should probably try the kile with okular embedded that puts a line in the preview inside the okular part.

I don't see how you would do it with a standalone okular since basically it would mean that a third party thing would change your view, which is not so cool.
Comment 2 Carsten Gräser 2014-06-13 09:11:03 UTC
I would also appreciate this feature. It's one of the few things preventing okular from beeing the perfect pdf-viewer. But switching to kile is not a real option: Why should you change your bread and butter tool (the editor) if you need a certain viewer feature.

I don't completely understand the 'a third party thing would change your view' comment. If one could toggle the highlighting using a toolbar button/shortcut, it would be the user that changes the view - similar to highlighting of selected text.

The problem that the user might misinterpret the marker/highlight as part of the pdf could imho also be overcome, e.g. be having a simple horizontal line (like kile does) that extends beyond the page margins.
Comment 3 Ciro Santilli 2014-08-23 10:13:28 UTC
Possible duplicate of: https://bugs.kde.org/show_bug.cgi?id=240315
Comment 4 postix 2021-11-24 14:03:18 UTC
*** Bug 122599 has been marked as a duplicate of this bug. ***
Comment 5 postix 2021-11-24 14:04:31 UTC

*** This bug has been marked as a duplicate of bug 377487 ***
Comment 6 Flupp 2021-11-24 14:19:37 UTC
I do not think this is a duplicate of bug 122599 or bug 377487. These bugs are about text search while this ticket is about forward search, which is a feature mainly (only?) used when editing LaTeX documents for synchronizing cursor position in the source in the editor and the position in the compiled document in the viewer (i.e., Okular in this case).
Nevertheless, the ticket might be resolved; unfortunately, I cannot test this currently.
Comment 7 postix 2021-11-24 14:23:46 UTC
Sorry, here I was too fast. Let's reopen it until someone can confirm it's fixed.
Comment 8 coding-matter 2022-11-17 20:56:06 UTC
Really would like to see this implemented.

For reference, Skim on macOS and zathura on linux both has this feature.