Bug 194955 - detaching an okular tab in Konqueor should open an detachted okular
Summary: detaching an okular tab in Konqueor should open an detachted okular
Status: ASSIGNED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 09:53 UTC by m.wege
Modified: 2023-04-27 20:24 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 m.wege 2009-06-02 09:53:49 UTC
Version:           0.8.80 (using 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.30-020630rc6-generic

I do not know if this is a wish concerning Okular or Konqueror or both. Right now, if you choose to detach an Konqueror tab with an dokument openend by Okular, Konqueror opens a new Konqueror window with an Okular tab. I think it would make much more sense if an independet Okular instance would be openend. Or if a least there was a choice.
Comment 1 Frank Reininghaus 2009-06-02 18:20:30 UTC
It's mostly concerning Konqueror (because the tab-detaching logic is handled inside it), but it would require a rather big code change, I think, and would also make the code a lot more complex and harder to maintain.
Comment 2 m.wege 2009-06-02 20:13:03 UTC
Would it be less code if there were an extra option in the context menu "detach in standalone okular"?
Comment 3 Frank Reininghaus 2009-06-02 23:27:18 UTC
(In reply to comment #2)
> Would it be less code if there were an extra option in the context menu "detach
> in standalone okular"?

I don't think so - that would still require to interfere with Konqueror's "detach tab" mechanism and make its actions depend on the kind of KPart that is  open in the current tab and also on the user's choice. And it would raise lots of non-trivial questions - should a detached tab showing an image be opened in Konqueror or Gwenview? Should a detached file-management tab maybe become a Dolphin window?

And moreover, I don't really see an obvious use case for this - if you prefer to view documents in Okular, why don't you just disable the "Show in embedded viewer" setting for these file types in the settings? ;-)

In my personal opinion, this feature is probably not useful enough to justify the added complexity, but it's not up to me to decide this.
Comment 4 m.wege 2009-06-03 07:28:07 UTC
I normally do not prefer to view files in okular, but from time to time it appears to be the thing I want to do. Like normally I am happy with tabbed browsing but then sometimes I want to detach a tab into a separate browser window.
Comment 5 Pino Toscano 2009-06-03 10:56:48 UTC
Technically speaking, you cannot know that an okularpart component has a "correspondent standalone application".
The actual "okular" application, like various other kpart-based application, is just a simple shell loading the okularpart. While the shell knows about the kpart, the kpart has no concept of "main shell" it is embedded into.
So, unless you go hardcoding in konqueror the application to be called for a (static) list of kparts, this wish is not doable at all.
Comment 6 kc365 2023-04-27 20:24:04 UTC
-Konqeror 23.04.0  clicked on setting then clicked on " Configure Konqeror"  the browser shuts down completetly. 
-Koqeuror needs web extention addons access so Ad blockers can be installed.