Bug 450896 - Okular doesn't take middle clicks for internal links
Summary: Okular doesn't take middle clicks for internal links
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.08.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-26 23:00 UTC by David
Modified: 2022-02-27 21:56 UTC (History)
1 user (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 David 2022-02-26 23:00:03 UTC
SUMMARY
Middle-clicking internal PDF links to sections within a PDF doesn't work in Okular.

STEPS TO REPRODUCE
1. Configure okular to have tabs for documents.
2. Open some PDF with internal links that take to some section of the same PDF.
3. Try to middle-click the internal link.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Should open the link in a new tab.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.0-2-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD VEGA10
Comment 1 Albert Astals Cid 2022-02-27 11:19:32 UTC
Why should it?
Comment 2 David 2022-02-27 15:20:46 UTC
(In reply to Albert Astals Cid from comment #1)
> Why should it?

In most common applications (e.g. web browsers, file managers, terminals, etc.) a middle-click opens links in a new tab.
Comment 3 Albert Astals Cid 2022-02-27 18:15:36 UTC
Okular is not a web browser nor a terminal not a file manager, any document viewer with that behaviour?
Comment 4 David 2022-02-27 19:49:17 UTC
(In reply to Albert Astals Cid from comment #3)
> Okular is not a web browser nor a terminal not a file manager, any document
> viewer with that behaviour?

I am not familiar with any other document viewer with support for tabs, other than Konqueror if you want to consider it as such, which does open links in new tabs when middle-clicked.

PDF viewers in web browsers (at least chromium-based ones) also open internal links in a new tab when middle clicked, if you count them as document viewers.

Sioyek (PDF viewer without tabs) opens internal links in a web browser when middle-clicked.

Evince doesn't support tabs, but offers the option to open internal links in a new window when right-clicked, which is probably the closest thing.
Comment 5 Albert Astals Cid 2022-02-27 21:56:07 UTC
I don't agree, but i guess a wish is a wish.