[Nix-dev] Okular Rendering issues

Roland Koebler rk-list at simple-is-better.org
Sat Aug 20 03:33:19 CEST 2016


On Wed, Aug 17, 2016 at 07:43:32PM -0500, laverne wrote:
> I'm running KDE on NixOS 16.03. I use Okular as my PDF viewer and have a PDF that is not rendering correctly. I have tried both okular-15.12.3 (Okular 0.24.2) and okular-4.14.3 (Okular 0.20.3). Some PDFs render fine, but I have attached one that does not. The white ovals along the left-hand side should have text in them and each of the arrows should have a number by them. If I upload this file to Google Drive, the text is visible. They also display fine under Okular 0.22.0 Fedora 22.
> 
> Can others confirm this behavior? Does it seem like a NixOS specific bug or should it be reported upstream?
I can give some results from non-NixOS: 

1. Debian Jessie + Okular:
   -> worked

   $ okular --version
   Qt: 4.8.6
   KDE Development Platform: 4.14.2
   Okular: 0.20.2

   libpoppler46:amd64  0.26.5-2+deb8u1

2. Debian Jessie + Nix + okular-4.14.3 from nixpkgs.kde4.okular,
   Debian Jessie + Nix + okular-16.04.03 from nixpkgs.kde5.okular

   Did not work at all: (a) okular cannot open any file and
   (b) okular turns the audio-mixer to 100% (wtf?) and plays an error-sound

   So, Nix okular-packages seem to be completely broken when used on
   non-NixOS.

   Error-message of okular when trying to open some PDF:

okular(32461)/kdecore (trader): KMimeTypeTrader: couldn't find service type "okular/Generator" 
Please ensure that the .desktop file for it is installed; then run kbuildsycoca4. 
okular(32461)/okular (app) Okular::Document::openDocument: No plugin for mimetype '"text/plain"'.
okular(32461)/kdecore (trader): KMimeTypeTrader: couldn't find service type "okular/Generator" 
Please ensure that the .desktop file for it is installed; then run kbuildsycoca4. 
okular(32461)/okular (app) Okular::Document::openDocument: No plugin for mimetype '"text/plain"'.
okular(32461) KMimeTypePrivate::ensureXmlDataLoaded: Missing <comment> field in "text/plain.xml" 


regards
Roland


More information about the nix-dev mailing list