[Okular-devel] [okular] [Bug 336388] New: Starts very slow after closed / closed process hangs on shutdown

Ondřej Hruška ondra at ondrovo.com
Wed Jun 18 10:12:23 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=336388

            Bug ID: 336388
           Summary: Starts very slow after closed / closed process hangs
                    on shutdown
    Classification: Unclassified
           Product: okular
           Version: 0.19.60
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: ondra at ondrovo.com

After I close *any* running Okular instance, starting Okular becomes very slow
for quite some time. Eventually this effect disappears.

Reproducible: Always

Steps to Reproduce:
1. Start okular (click on a PDF file)
2. Close the Okular window
3. Start okular again
Actual Results:  
The second start will take around 10 seconds or more.

Expected Results:  
Should be as fast as the first time

Starting multiple Okular instances is fine - very fast. But once you close at
least one of them, the next one to start will take AGES to open (ages = over 10
seconds).

Could be related to the fact that after closing Okular window, the process is
still running - "killall okular" succeeds.

Here's a output from terminal in one okular run

[code]
$ okular vektorova_analyza.pdf 
okular(8964)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8964)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8964)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8964)/kdeui (kdelibs): Shortcut for KAction  "mainToolBar" "Show
&Toolbar" set with QShortcut::setShortcut()! See KAction documentation. 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype 
"application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
okular(8964) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers
to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12" 

// now I closed the window
// around 10 seconds delay

QClipboard: Unable to receive an event from the clipboard manager in a
reasonable time
$
[/code]

My system: ArchBang Linux
Okular package: aur/okular-git

Okular version:
$ okular --version
Qt: 4.8.6
KDE Development Platform: 4.13.2
Okular: 0.19.60

My clipboard program: xfce4-clipman

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list