This forum has been archived. All content is frozen. Please use KDE Discuss instead.
Please use bugs.kde.org for bug reports or feature requests. Development related questions should be directed to the okular-devel mailing list.

Okular View→New_View feature

Tags: okular, feature okular, feature okular, feature
(comma "," separated)
koukasio
Registered Member
Posts
13
Karma
0

Okular View→New_View feature

Sat Jun 01, 2013 4:17 pm
Hi there! I am a hardcore KDE, okular user... My ram usage at the current time I am writing is total:16GB/ used:13GB/ free:3GB. I have currently 65 open pdf files with okular (no, I don't want to close any of them), and I save the session when the computer restarts, so Kwin replaces the windows in the same activity,desktop and position as before. Currently okular uses 5.5GB. I like one feature that programs like libreoffice, calligra and kate have, which is to open a new window for a specific instance of a document. What I currently do is open the document in a second instance, which has the flow that okular uses additional ram for the same document , and pages load as slowly as if they load for the first time.
In libreoffice you can use Window→New_Window
In kate you can use View→New_Window
In calligra View→New_View
Is such a feature easy to implement? Unfortunately, I am not a developer, so I would like to post it as an idea... Am I posting in the right place?

Last edited by koukasio on Thu Aug 10, 2017 11:02 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Okular View→New_View feature

Thu Jun 06, 2013 6:37 am
While it would be simple for Okular to launch another instance of itself, reading the same document, I suspect it would not be simple for them to share the memory representation of the document. This is because Okular uses a separate process for each document viewed, while other applications such as Libreoffice use a single process for all documents (which is more vulnerable to data loss if a crash takes place).

I'm not sure which approach Calligra uses - if it uses separate processes then I suspect it likely re-renders the document as well.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
koukasio
Registered Member
Posts
13
Karma
0

Re: Okular View→New_View feature

Thu Jun 06, 2013 6:24 pm
I can confirm that Calligra does not re-render the document.
You can try Calligra like this
run calligrawords→View→New_View
Check out that there is one process for the same document
then run calligrawords again to open a new file, and you can notice that there are two processes now...
Now open more views for a single document and notice that there are a single process for as many views as you like.
I can confirm that the same happens with Kate→View→New_Window

I think this is a really nice feature, this is a screenshot of a single desktop with 3 instances of the same pdf file. I use the tabbing-grouping feature of Kwin.
http://postimg.org/image/svk3ft1il/
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Okular View→New_View feature

Sat Jun 08, 2013 10:12 am
I see. In this case i'd advise filing a feature request at bugs.kde.org, although the developers may still decide to not implement this feature.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
tosky
Registered Member
Posts
210
Karma
3

Re: Okular View→New_View feature

Thu Jun 13, 2013 11:23 am
bcooksley wrote:I see. In this case i'd advise filing a feature request at bugs.kde.org, although the developers may still decide to not implement this feature.


This is not exactly easy, and there is already a wishlist/feature open (it's possible to vote for it, but again it depends on the (shortage of) available manpower):
https://bugs.kde.org/show_bug.cgi?id=169847


tosky, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell