[okular] [Bug 468274] Okular opens a new instance instead of new tab (Virtual Desktops)
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Tue Jul 1 13:53:45 BST 2025
https://bugs.kde.org/show_bug.cgi?id=468274
bugs.kde.org at qtn.33mail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugs.kde.org at qtn.33mail.com
--- Comment #10 from bugs.kde.org at qtn.33mail.com ---
I recently switched to Wayland, and in my opinion, Okular's behavior is far
less logical than under X11.
Let's say I have two virtual offices, “leisure” and “work”.
I'm on the “leisure” desktop and open several PDFs, using the “Open files in
new tab” option.
I switch to the “work” desktop and open a PDF: it appears on the “leisure”
desktop, which I don't have in front of me.
On the “work” desktop, I can launch a new instance of okular (“okular &”).
But when I then run “okular my_file.pdf”, the files continue to open on the
“leisure” virtual desktop while the okular instance on the “work” desktop,
which I have in front of me, remains empty.
I find this exasperating.
The problem could be solved by one of two things:
(1) More precise settings:
☑ Open new files in tabs when Okular is running on the same virtual desktop
☐ Open new files in tabs regardless of the virtual desktop where Okular is
already running
(2) More precise flags:
--open-in-instance XXX
We could then use a script and wmctrl to choose which instance to open a file
in.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list