Summary: | Excessive delay in returning meta-data for non-indexed files. | ||
---|---|---|---|
Product: | [Unmaintained] Baloo | Reporter: | Paul <pip.kde> |
Component: | Widgets | Assignee: | Vishesh Handa <me> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ukyoi |
Priority: | NOR | ||
Version: | 4.13 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/baloo/434e3ef2500f64eb3ac2a4f656b47724d04d9c6f | Version Fixed In: | 5.0 |
Sentry Crash Report: |
Description
Paul
2014-06-11 15:54:20 UTC
Confirmed. The indexer is temporarily indexing the entire file including the plain text, and not just the metadata. Hence the noticable delay. I'll try to improve stuff, so that in this case only the metadata is extracted. (In reply to comment #1) > I'll try to improve stuff, so that in this case only the metadata is > extracted. Excellent - Thanks. :) For future flexibility perhaps baloo_file_extractor should take arguments to indicate what to return... All meta-data, Specific Named meta-data, No meta-data, File Content... that sort of idea, then a programme calling baloo_file_extractor could specify exactly what it wanted. Git commit 434e3ef2500f64eb3ac2a4f656b47724d04d9c6f by Vishesh Handa. Committed on 01/07/2014 at 15:03. Pushed by vhanda into branch 'frameworks'. Extractor: Do not extract the plain text in --bdata mode This is the mode that is used to temporarily extract the metadata. It's used in the dolphin side panel. It doesn't make senese for us to extract the plain text and then discard it. Extracting pdf metadata is now much much faster. FIXED-IN: 5.0 M +6 -1 src/file/extractor/app.cpp M +2 -2 src/file/extractor/result.cpp M +1 -1 src/file/extractor/result.h http://commits.kde.org/baloo/434e3ef2500f64eb3ac2a4f656b47724d04d9c6f *** Bug 338170 has been marked as a duplicate of this bug. *** |