Summary: | Display file metadata from alternative source during Baloo indexing operation | ||
---|---|---|---|
Product: | [Frameworks and Libraries] baloo-widgets | Reporter: | Łukasz Szeremeta <betterkde> |
Component: | general | Assignee: | Stefan Brüns <stefan.bruens> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.stippich, betterkde, nate |
Priority: | NOR | Keywords: | usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=409881 | ||
Latest Commit: | https://commits.kde.org/baloo-widgets/d202cc3854c007f40cc6da13532fd30bfdaded2a | Version Fixed In: | 20.04.0 |
Sentry Crash Report: |
Description
Łukasz Szeremeta
2019-07-22 18:11:30 UTC
Git commit d202cc3854c007f40cc6da13532fd30bfdaded2a by Stefan Brüns. Committed on 13/11/2019 at 23:58. Pushed by bruns into branch 'master'. Use realtime indexing as fallback when DB has no property data Summary: In case the DB provides no data, try to fetch the properties directly from the file using the new OnDemandIndexer class. If required, start the extractor in the background, fetch UserMetaData and wait for the extractor, then unite the results. Depends on D25248 Test Plan: # suspend baloo (`balooctl suspend`) # copy a file with properties (e.g. PNG) to a included location `cp ~/foo.png ~/foo_2.png` # `balooshow ~/foo.png ~/foo_2.png` should only display "Cached properties" for the original file # dolphin displays properties for both files (in the side panel) Reviewers: #baloo, ngraham, astippich Reviewed By: #baloo, ngraham, astippich Tags: #baloo Differential Revision: https://phabricator.kde.org/D25250 M +30 -8 src/filefetchjob.cpp M +10 -1 src/filefetchjob.h M +11 -8 src/filemetadataprovider.cpp M +5 -0 src/ondemandextractor.cpp M +1 -0 src/ondemandextractor.h https://commits.kde.org/baloo-widgets/d202cc3854c007f40cc6da13532fd30bfdaded2a |