Bug 336681 - Okular opens a file slowly and hangs
Summary: Okular opens a file slowly and hangs
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.19.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 21:42 UTC by zaharid
Modified: 2014-07-01 07:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zaharid 2014-06-24 21:42:04 UTC
When opening the attached file, okular is inactive for quite a while (and displays a grey empty area). When the document is finnaly open, scrolling or making any action hangs okular absolutely. I am also unable to open other documents with okular untill I kill the process.

 

Reproducible: Always

Steps to Reproduce:
1.open the attached document.
2.
3.
Actual Results:  
Okular is slow. Scrolling hangs it forever.


Document URL (don't think I am allowed to upload it)
http://cds.cern.ch/record/1511050/files/Science-2012--1576-82.pdf
Comment 1 zaharid 2014-06-24 21:45:29 UTC
Console output:
okular Science-2012--1576-82.pdf 
okular(14106)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14106)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14106)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14106)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14106)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14106): BEGIN: Loading backend
okular(14106)   BackendLoader::init: Loading "XRandR" backend
okular(14106): END__: Loading backend [Took: 0.012s]
okular(14106) Okular::Utils::realDpi: Found widget at output # 67
okular(14106) Okular::Utils::realDpi: Output size is  QSize(293, 165)
okular(14106) Okular::Utils::realDpi: EDID WxH:  29 x 17
okular(14106) Okular::Utils::realDpi: Output DPI is  QSizeF(166.444, 166.255)

It spends a long time here. Then:


QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/zah/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 

Document opens and then hangs. No new output in the console.

Mi distibution is Linux Mint 17 Cinnamon.
Comment 2 Albert Astals Cid 2014-06-30 21:35:47 UTC
Works fine here in 0.19.2 for Ubuntu, can you try updating and see if it works for you?
Comment 3 zaharid 2014-07-01 06:56:51 UTC
The problem seems solved now.