Bug 437053 - Add option when right click a PDF file: "Open with Okular (new tab)"
Summary: Add option when right click a PDF file: "Open with Okular (new tab)"
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR task
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 17:36 UTC by Jose Roberto
Modified: 2021-05-13 18:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Roberto 2021-05-13 17:36:57 UTC
SUMMARY

This is not a bug, but a request of a new (awesome) feature (at least to me).

I think it would be great if there was an option "Open with Okular (new tab)" when I right click a PDF document in Dolphin.
Comment 1 Nate Graham 2021-05-13 17:40:51 UTC
This would require changes in Okular which would be super technically messy and result in two items appearing in the context menu (one for opening in a new tab, one for opening in a new window), which people would certainly complain about. :)

Okular itself has an option to always open new documents in new tabs, which I personally make use of, and plan to make the default at some point in the near future. I recommend you do that, and instead open a new instance of Okular manually when you actually do want a new window instead of a new tab.
Comment 2 Jose Roberto 2021-05-13 18:03:45 UTC
Hello,

Thanks for the response! I already use Okular with tabs (it is just great!). But frequently I am using two or more screens, and sometimes I require to open multiple PDFs (with multiple Okular instances, one in each screen).

It there any way to do this?
Comment 3 Nate Graham 2021-05-13 18:21:53 UTC
Manually open as many Okular instances as you want, and in each instance, open the documents that you want to be open there. There isn't a generic way to target a particular instance when you ask Dolphin to open a file in an app, nor is there a great way to add one. Sorry.
Comment 4 Jose Roberto 2021-05-13 18:24:23 UTC
I realized that if I open an empty Okular instance, I can drag the PDF file in Okular and it will open that file. I am really happy with this. Your reply gave me that idea. Thanks!
Comment 5 Nate Graham 2021-05-13 18:32:22 UTC
You're welcome!