Bug 359929

Summary: When clicking on a hyperlink to another PDF file, Okular should open a new window
Product: [Applications] okular Reporter: Denis Bitouzé <dbitouze>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: aacid, postix
Priority: NOR    
Version First Reported In: 0.20.3   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Presentation file with hyperlink to `another.pdf' file
Target file from `presntation.pdf' file

Description Denis Bitouzé 2016-02-29 15:26:46 UTC
Suppose you have a presentation in a `presentation.pdf' PDF file (made
with `Beamer' LaTeX class) and, at some point, you want to open another
`another.pdf' PDF file. It is possible by inserting a button (or, simply an
hyperlink) to this target file.

Now, by contrast to e.g. Evince, Okular opens the another file in the
very same window where `presentation.pdf' was open and this is very
annoying because you cannot continue your presentation when you have
finished with the another file: there is no easy way to come back to
`presentation.pdf', especially at the page it was open.

For this reason, I'm using Evince instead of Okular since years for my
presentations.

Hence, it would be nice for Okular to open linked PDF files in new
windows, or at least to provide an option that lets the user select this
behavior.

Examples of such `presentation.pdf' and `another.pdf' PDF files can be found here:

http://gte.univ-littoral.fr/members/dbitouze/pub/latex/divers/okular-s-feature-request/presentation/downloadFile/file/presentation.pdf
http://gte.univ-littoral.fr/members/dbitouze/pub/latex/divers/okular-s-feature-request/another-file/downloadFile/file/another.pdf

Reproducible: Always

Steps to Reproduce:
1. Create a `presentation.pdf' PDF file (e.g. with LaTeX) that contains a hyperlink to an`another.pdf' PDF file.
2. Open `presentation.pdf' with Okular.
3. Click on the hyperlink.

Actual Results:  
The `another.pdf' PDF file is open in the same window where `presentation.pdf' was open.

Expected Results:  
The `another.pdf' PDF file is open in distinct window from the one where `presentation.pdf' is open.
Comment 1 Denis Bitouzé 2016-02-29 15:35:00 UTC
Created attachment 97608 [details]
Presentation file with hyperlink to `another.pdf' file
Comment 2 Denis Bitouzé 2016-02-29 15:35:54 UTC
Created attachment 97609 [details]
Target file from `presntation.pdf' file
Comment 3 Albert Astals Cid 2016-02-29 23:59:00 UTC

*** This bug has been marked as a duplicate of bug 320723 ***
Comment 4 postix 2024-11-26 15:43:59 UTC

*** This bug has been marked as a duplicate of bug 297777 ***