Some pdf files can't be opened by okular. For example: https://www.dropbox.com/s/1xw1bz34t5uiwnw/Klaus%20Friedrich%20-%20Tribology%20of%20Polymeric%20Nanocomposites%20%28RED%20BOOK%29.pdf The program freezes for a minute, then opens the first page. When trying to scroll through, same with the second page, etc. Other viewers opens this one well.
The linked file can be successfully opened and viewed here with poppler 0.25.1 and Okular 0.18.60.
Thank you for your reply. If I'm not mistaken, Evince uses libpoppler as well. But Evince can open this file properly on my system, unlike Okular. Other users said that during scrolling of this file they had short freezing of audio-files.
opens fine here with Okular: 0.18.0 in Kubuntu 12.04 KDE 4.12.0 Compiled from sources in stable: Okular: 0.18.1 with KDE: 4.12.1 Compiled from sources in master Okular: 0.18.60 with KDE Development Platform: 4.12.60 All using Qt: 4.8.2 + poppler 0.18.4
which poppler are you using?
Hello. The file can be opened at my machine but cpu will work at 100% with system freezing if pages are scrolled. %okular --version Qt: 4.8.5 KDE Development Platform: 4.11.3 Okular: 0.17.3 %zypper se -is poppler S | Name | Type | Version | Arch | Repository --+------------------+---------+-------------+--------+------------------------ i | libpoppler-cpp0 | package | 0.24.3-1.1 | x86_64 | local-openSUSE-13.1-OSS i | libpoppler-qt4-4 | package | 0.24.3-1.1 | x86_64 | local-openSUSE-13.1-OSS i | libpoppler43 | package | 0.24.3-1.1 | x86_64 | local-openSUSE-13.1-OSS i | poppler-data | package | 0.4.6-5.1.2 | noarch | local-openSUSE-13.1-OSS i | poppler-tools | package | 0.24.3-1.1 | x86_64 | local-openSUSE-13.1-OSS
Can you please run valgrind --tool=callgrind okular thefile.pdf and attach the callgrind.out.$pid file that is created?
Created attachment 84733 [details] callgrind output [~] %valgrind --tool=callgrind okular ~/Downloads/Klaus\ Friedrich\ -\ Tribology\ of\ Polymeric\ Nanocomposites\ \(RED\ BOOK\).pdf [0:19] ==17327== Callgrind, a call-graph generating cache profiler ==17327== Copyright (C) 2002-2012, and GNU GPL'd, by Josef Weidendorfer et al. ==17327== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==17327== Command: okular /home/da/Downloads/Klaus\ Friedrich\ -\ Tribology\ of\ Polymeric\ Nanocomposites\ (RED\ BOOK).pdf ==17327== ==17327== For interactive control, run 'callgrind_control -h'. ^C==17327== ==17327== Events : Ir ==17327== Collected : 524505519 ==17327== ==17327== I refs: 524,505,519 [~] %
Did you let it run for a good while? Doesn't seem it did any rendering from what i can see in the attachment. Also maybe you can install the poppler debug package if it exists for your distribution?
Nope. I waited 3 minuted, OK, I'll do so today.
Created attachment 84749 [details] May be OK.
Yeah that includes more stuff but doesn't tell anything interesting. It's strange because i'm running similar versions to what you have (just a bit newer okular) and it works fine for me. Any change you can update to okular that comes with the 4.12 releases?
Yep, you are completely right! %okular --version Qt: 4.8.5 KDE Development Platform: 4.11.4 Okular: 0.18.1 (from KDE 4.12.1) No freezing.
Ok, i'll leave this open since Anton never replied
Hello, Thanks a lot for your patience! The problem was solved after changing Linux Mint 16 KDE to Kubuntu 13.10. Actually, I am not so advanced linux user, I couldn't find the way how to update my okular and poppler. I updated the kernel and the KDE, just in case. Well, that was all I could. But only original Kubuntu installation worked. Thanks again!
That's me again. I have hurried a little bit. Indeed, after installation there was no problems, but now it occurred again. Not like before, but anyways, it's not comfortable to work with some pdf files. They are constantly freezing when I try to scroll.
Sorry, me again. Thanks for your patience. I have updated KDE up to 4.12 and it helped. Actually, I tried to do the same when I had Linux Mint 16 KDE, and it didn't work. But in the case of Kubuntu 13.10 it worked.
(In reply to comment #11) > Yeah that includes more stuff but doesn't tell anything interesting. It's > strange because i'm running similar versions to what you have (just a bit > newer okular) and it works fine for me. > > Any change you can update to okular that comes with the 4.12 releases? Sorry, I use this forum first time, I haven't noticed that I can reply for each post. Yes, it worked. I had updated KDE up to 4.12 and there is no problems anymore. Thank you!