Bug 202234 - Big pdf file using information panel freezes dolphin
Summary: Big pdf file using information panel freezes dolphin
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 19:45 UTC by roucaries.bastien+bug
Modified: 2009-12-16 20:03 UTC (History)
10 users (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 roucaries.bastien+bug 2009-08-01 19:45:01 UTC
+++ This bug was initially created as a clone of Bug #166747 +++

Every time that I pass through the
icon of a big pdf file, it freezes dolphin. 
After chasing a little bit thius bug it seems that dolphin call libstream0 that call pdftotext that is so slow, but in any case it should not freeze dolphin.

information retrieval should be async and done by a low priority thread. 

This bug kill me browsing with dolphin, because it is really really slow (near crash for 3 minutes, may be need to be classified as crash).

Workarround: disable information pannel
Comment 1 roucaries.bastien+bug 2009-08-01 20:58:17 UTC
Debian bug 539488
Comment 2 Dario Andres 2009-08-01 21:06:35 UTC
On which KDE version ?
Dolphin at KDE4.2 retrieves the information using Strigi which causes freezes.
Dolphin at KDE4.3 has fixed this issue and now it uses Nepomuk to show already fetched information without blocking the GUI.
Thanks
Comment 3 roucaries.bastien+bug 2009-08-01 21:19:41 UTC
Qt: 4.5.1
KDE: 4.2.4 (KDE 4.2.4)
Dolphin: 1.2.1

Could be possible to get the back port for distrib or at least a pointer to the patch used?
Comment 4 Peter Penz 2009-08-01 21:34:53 UTC
A backport would be difficult and very risky, as the patch relies on new Nepomuk interfaces and also includes translation changes.
Comment 5 Peter Penz 2009-08-01 21:37:42 UTC
I forgot: If this blocking issue should be solved for KDE 4.2.x the "easiest" thing would be to fix the strigi analyzers. Some strigi analyzers (MPEG, PDF) don't respect the maximum size hint of 64 KB which is given when retrieving the data by KFileMetaInfo. I've informed the maintainers about this 2 months ago, but AFAIK the issues have not been fixed yet...
Comment 6 roucaries.bastien+bug 2009-08-01 21:46:20 UTC
Ok thank could you point to the bug report ???
thank you for your answer
Comment 7 Peter Penz 2009-08-01 22:13:31 UTC
The bug reports are here:

http://sourceforge.net/tracker/?func=detail&aid=2830902&group_id=171000&atid=856302

http://sourceforge.net/tracker/?func=detail&aid=2830904&group_id=171000&atid=856302

(I've just created them, as until now I just had an e-mail conversation with the maintainers)
Comment 8 roucaries.bastien+bug 2009-09-17 18:20:17 UTC
Unfortnatly 4.3 does not solve this problem or half close it. the first time dolphin freeze, but the second time it work as expected. 

Thank you
Comment 9 roucaries.bastien+bug 2009-09-23 03:25:55 UTC
Any news of this bug ?
Comment 10 roucaries.bastien+bug 2009-09-29 17:26:47 UTC
Any news ???? the strigi bugs are really boring. I suppose this bug could be worked arround if creating the index is made using a lower priority thread. What do you think about that ? It will be quite natural to lower the priority of this task
Comment 11 Peter Penz 2009-10-04 12:24:51 UTC
@roucaries: I cannot reproduce this issue with KDE 4.3.x/trunk. The index is created asynchronously already. The issue with KDE < 4.3 has been that:
1. The meta data has been read synchronously.
2. The Strigi indexers for PDFs and MPEGs (see comment #7) did not respect the maximum file size.

Since KDE 4.3 Dolphin uses Nepomuk to read the meta data, which is done asynchronously.

Is it possible that you have enabled the tooltips? They still need to get ported to use Nepomuk too (will be done for KDE 4.4).
Comment 12 roucaries.bastien+bug 2009-10-05 11:13:48 UTC
Dear Peter, 

I use the tooltips as you say.

Thank you for the precision.

Could you also remind the strigi maintener about the bug in comment #7

Regards

PS: BTW I believe you could change bug status from unconfirmed ;)
Bastien
Comment 13 Peter Penz 2009-10-06 08:02:15 UTC
OK, the tooltip issue will be fixed with KDE 4.4 :-) Regarding the strigi issue: I hope I find time to fix this issues myself (I contacted the maintainer already, but he seems to be busy with other things).
Comment 14 roucaries.bastien+bug 2009-12-15 17:21:11 UTC
Any news of this ?
Comment 15 Peter Penz 2009-12-16 20:03:20 UTC
Sorry, I forgot to close this issue (too many duplicates in the database...). This issue has been fixed in KDE 4.4: also the tooltips now use the same approach as in the Information Panel (-> asynchronous reading in a separate thread).