SUMMARY Okular 20.12.3 does not open PDFs in new tabs, but windows, despite setting "Open new files in tabs". STEPS TO REPRODUCE 1. Install stable okular snap 2. Go to setting, enable Open in new tabs 3. Open 2 files OBSERVED RESULT Opens each file in separate windows EXPECTED RESULT Open files in tabs, same window SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 18.04 (available in About System) KDE Plasma Version: KDE Frameworks Version: KDE Frameworks 5.79.0 Qt Version: Qt 5.15.2
same happens with flatpak okular 20.12.3
Still happening in Okular 22.08.2 on Ubuntu 20.04 (x11, gnome)
I have just noticed that if a pdf is opened via right click -> open with another application -> Okular, instead of double-clicking, the file is actually opened in a tab of the already opened Okular. How is it possible to code this as default behaviour?
Still happening in Okular 24.02.0 on KDE Neon Plasma 6. I also noticed that after a system restart (I shut it down and then turned it on again the day after) the feature works perfectly. Double clicking on the PDF makes it open in a new tab, as expected. So I guess the bug is just that it needs a system reboot to work?
*** Bug 459968 has been marked as a duplicate of this bug. ***
*** Bug 443358 has been marked as a duplicate of this bug. ***
I tested this in live session of KDE Neon and it worked. I installed the snap Okular, and then I opened it with snap run okular to make sure that I'm on the snap version. I enabled the Open in new tabs setting, and then in KDE System Settings switched the default handler for PDF files from the .deb version (24.02.0) to the snap version (23.08.4). snap info okular channels: latest/stable: 23.08.4 2023-12-10 (148) 195MB - latest/candidate: 23.08.5 2024-02-16 (150) 196MB - latest/beta: ↑ latest/edge: ↑ Then I opened first PDF, then second one and third, and they opened in new tabs. I closed the Okular snap and again opened PDF's, by double clicking on them in Dolphin, and again they opened in new tabs of the snap packaged Okular. I also just tested it in my regular install of Ubuntu 24.04 development version and it works. I double click PDF files in Nautilus and they open in new tabs of snap Okular.