FS#53419 - qt4 okularpart version for Kile (embedded pdf viewer)

Attached to Project: Arch Linux
Opened by Flo Doe (Thurse93) - Wednesday, 22 March 2017, 17:17 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 23 March 2017, 13:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Currently the default embedded pdf viewer (lib: okularpart) in Kile 2.1.3 is broken cause of the difference in toolkit usage (Kile's qt4 vs. Okular's qt5). I'd like to propose a qt4-package of okularpart.so for keeping a "core workflow function" in KDEs LaTeX-Editor alive. Of course it would have to be a dependency of the kile-package.


Additional info:
* Kile 2.1.3
* Okular 16.12.3


Steps to reproduce:
In a fresh KDE/Plasma installation with Okular and Kile, set the "ViewPDF"-Function to "Embedded Viewer" and try to execute it. Error in Log and Messages: [ViewPDF] Could not find the okularpart library.

Corresponding forum entry: https://bbs.archlinux.org/viewtopic.php?id=224425

This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 23 March 2017, 13:21 GMT
Reason for closing:  Won't implement
Comment by Antonio Rojas (arojas) - Wednesday, 22 March 2017, 21:43 GMT
AFAIK the okularpart embedded viewer just replaces the kile window with okular. What's the advantage over using a separate okular window that would justify bringing back okular 4 from the dead?
Comment by Flo Doe (Thurse93) - Thursday, 23 March 2017, 09:33 GMT
You should be able to arrange the two subwindows side by side an keep a certain viewing ratio as shown here: http://texblog.net/png/Kile-livepreview.png. So you can easily adapt the amout of work space you need in a single window without the need to configure it in the window manager. This is a feature the successors of Kile (TexMaker, TeXstudio) and even GTK-Editors like Gummi have (and is used heavily especially by LaTeX beginners needing that last bit of WYSIWYG). Apart from that it seems that the developement of Kile has stopped so there is little chance for a qt5-version of it.

Of course the workaround would be to use just a working alternative, but it seems that Kile is still considered as the default LaTex-Editor of the KDE/Plasma Environment. So at least all of the implemented features of this well-known application should work.
Comment by Antonio Rojas (arojas) - Thursday, 23 March 2017, 10:25 GMT
That screenshot you linked is about the "live preview" feature, which is not available in any stable release of kile yet (the last feature release of Kile was 6 years ago), regardless of what okular version you have installed. What the current "embedded viewer" option does is simply put an okular window on top of your kile window (you can check yourself by installing the last version of kdegraphics-okular from ALA) which is not much different from opening a separate okular window.
Kile development is very much alive, as you can see in the git repo: https://cgit.kde.org/kile.git/log/, and the kf5 version has been ready for months, they just haven't released it yet. If you want the live preview, best you can do is bug upstream to make a release.
Comment by Flo Doe (Thurse93) - Thursday, 23 March 2017, 13:15 GMT
Oh.. okey, seems like I got pretty much everything wrong here. I used Kile years ago in Ubuntu and I was so certain it got this feature that I only did superficial research. Well if there never has been anything like a side-by-side view there's probably no point in asking for it since there are enough alternatives. Thanks for pointing out my misunderstandings.

Loading...