Opening a pdf with Okular, and Okular is in another Virtual Desktop, then it's opened another Okular instance instead of open Okular with a new tab. It seems this happens because Okular doesn't take virtual Desktops and Activities into account. As a reference, this bug also happens with Dolphin but has already been fixed (X11): https://invent.kde.org/system/dolphin/-/merge_requests/529 Original thread (same bug in Dolphin): https://bugs.kde.org/show_bug.cgi?id=408919
Don't add random people to the CC list, that's quite rude. They may not be interested in this report.
(In reply to Christophe Marin from comment #1) > Don't add random people to the CC list, that's quite rude. They may not be > interested in this report. Sorry, my mistake, I thought I was right adding the people who were already in the Dolphin related bug.
Okular always either opens a new instance or a new tab, depending on your settings, regardless of desktops or activities. I'm not sure I understand how you want it to behave. Do you want it to open a new tab when it's on the current desktop and open a new instance otherwise?
(In reply to Nicolas Fella from comment #3) > Okular always either opens a new instance or a new tab, depending on your > settings, regardless of desktops or activities. > > I'm not sure I understand how you want it to behave. Do you want it to open > a new tab when it's on the current desktop and open a new instance otherwise? Apps Running Virtual Desktop 1: Dolphin Virtual Desktop 2: Okular Let's say that if I'm in VD1 and it's opened a pdf, shouldn't it be opened in a new tab in Okular, which is in VD2? Currently, what happens is that a new Okular is opened in VD1
Do you have the "Open new files in tabs" option enabled?
Yes, I have that option enabled and it works in the same Virtual Desktop (I just tried it out) However when Okular is on another virtual desktop it doesn't