Summary: | New files are not being indexed until after reboot | ||
---|---|---|---|
Product: | [Unmaintained] Active | Reporter: | Thomas Pfeiffer <thomas.pfeiffer> |
Component: | General | Assignee: | active |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | NOR | ||
Version: | Integration | ||
Target Milestone: | unscheduled | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/nepomuk-core/ba02058c7efe6c4acef3b3b2aef55de0afd7aaef | Version Fixed In: | |
Sentry Crash Report: |
Description
Thomas Pfeiffer
2013-03-05 10:29:43 UTC
File indexing is not triggered by newly added files. De- and reactivating the indexer from Desktop Search settings does trigger indexing, though. Git commit 0b5a17ee52780fdf2e49f82ad0c541052d8ff0a5 by Marco Martin. Committed on 11/04/2013 at 21:27. Pushed by mart into branch 'master'. consider "old" files when a file that has a very old modification time is copied in an indexed folder, checking the modification time isn't enough. we have to check the modification time of the folder *and* of the file, then index the file if any of them is recent. in this case it catches both the cases an already existing file has been modified or the case when an "old" file gets copied there (in that case is the directory modification time that catches it) M +4 -2 services/filewatch/nepomukfilewatch.cpp http://commits.kde.org/nepomuk-core/0b5a17ee52780fdf2e49f82ad0c541052d8ff0a5 Git commit ba02058c7efe6c4acef3b3b2aef55de0afd7aaef by Marco Martin. Committed on 11/04/2013 at 21:27. Pushed by mart into branch 'KDE/4.10'. consider "old" files when a file that has a very old modification time is copied in an indexed folder, checking the modification time isn't enough. we have to check the modification time of the folder *and* of the file, then index the file if any of them is recent. in this case it catches both the cases an already existing file has been modified or the case when an "old" file gets copied there (in that case is the directory modification time that catches it) M +4 -2 services/filewatch/nepomukfilewatch.cpp http://commits.kde.org/nepomuk-core/ba02058c7efe6c4acef3b3b2aef55de0afd7aaef I can confirm that this is fixed. Yay! |