I couldn't find a way to detach tabs inside Okular once I enable "open new files in tabs". This is especially necessary when I want to compare PDF files by opening side by side. An exact reverse problem also exists i.e. multiple windows cannot be combined into a single window with tabs. Reproducible: Always Steps to Reproduce: 1. Open 2 PDF files with "open new files in tabs" enabled. 2. No way to detach them 3. Alternative problem: Open 2 files with the same option disabled. There is no way to combine the two files opened in different windows, into a single window with tabs Expected Results: 1. Dragging the tab out of the body of the okular window should detach the tab into a new window, similar to all modern browsers. 2. Dragging a window/tab from one window into other should add a tab, similar to all modern browsers. 3. Right clock on tab should have an option to detach tab. (not a necessary option, as dragging is more intuitive)
Konsole does it, by adding lots of code to QTabBar that should be in Qt, see https://bugreports.qt-project.org/browse/QTBUG-3160 I do not think every application developer should have to duplicate that code, but use the feature when (if) it will be available in the Qt libraries. Please add your vote to the referenced Qt bug entry.
The most recent link to the Qt issue is https://bugreports.qt.io/browse/QTBUG-3160.
Yes we need this!
*** Bug 411911 has been marked as a duplicate of this bug. ***
That functionality could of course also go to some KDE framework in the meantime.
Dear all, I have learnt recently, that Okular supports tabs. This is so cool! Though today I have learnt a downside to it. I want to read two PDFs in parallel and have them opened on left and right side of my screen. So I tried, like I know from Firefox, to drag a tab out of Okular to detach it to a new Okular window. This is not supported. I also have not found any other mean to open once a file outside in a second Okular window. I double checked and noticed that Dolphin does not support this either. So maybe this should be even implemented in a re-usable way for integration in other Qt/KDE apps. Just one moment before submitting a new bug report, I got this report suggested. I agree with you all. There should be code in Qt. Unless this is the case, we can maybe have a menu option "Detach to new window"? Best, Robert
It's easy to open multiple instances of okular; e.g., just use krunner each time. You can then either open the file from okular's window or else drag a file from your file manager into the okular window to open it there. Obviously it would be far more convenient to have the option to detach tabs, but convenience is not a necessity.
I have found in the same situation: "I want to compare 2 pdfs opened when Okular open documents in tab by configuration" I have tested to do the steps wrote in the last comment and it works. The problem is that the UX in order to this is poor and get a behaviour like Firefox for example, will be fantastic! Note: I've register into QT platform in order to vote the issue quoted
+1 for this feature
+1 for feauter
*** Bug 442256 has been marked as a duplicate of this bug. ***
Detaching tabs is useful for those who prefer to open new files in tabs by default. However, having an option to open new files in a tab (e.g. accessible in the toolbar or the hud) would be useful for those who prefer to open new files in new windows by default.
(In reply to Michael D from comment #12) > Detaching tabs is useful for those who prefer to open new files in tabs by > default. However, having an option to open new files in a tab (e.g. > accessible in the toolbar or the hud) would be useful for those who prefer > to open new files in new windows by default. To add to this, another option would be what kwrite does: open documents (e.g. from a file manager) in a new window, but when using the open option from the program (e.g. ctrl + o), open in a tab.
*** Bug 465117 has been marked as a duplicate of this bug. ***
Since this issue is now open for quite a long time, and the QT issue even longer without any hope, I think it would be appropriate to develop the detach feature inside okular instead of waiting another decade... I pulled the repo and was able to implement a rightclick feature with close/detach tab in a half an hour, so it is definitely not complicated. Although I must say, that I am not familiar with the okular source code, so my code is not at all good. Nevertheless, if a merge request for this feature would be opened, I would definitely give my best to help to develop a good solution! Using okular VERY regular on a dual monitor setup, i can say it is extremely annoying to manually open new instances of okular and searching for pdfs again and again.