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

--- Comment #3 from skierpage <skierp...@gmail.com> ---
I enabled baloo logging and restarted baloo, and baloo reindexed a bunch of
files with the same modified times in 1970-0-01 (1969 in my timezone).

The journal included lines like
       ... baloo_file[21819]: kf.baloo:
"/home/spage/programs/skrooge_dev/skrooge/flatpak_build-dir/files/share/doc/HTML/en/skrooge/dashboard_report.png"
mtime/ctime changed: 0 / 1675907011 -> 28800 / 1675907011

I think this is saying baloo thought the file's mtime was 0 and now thinks it's
28800, so it reindexed. My timezone is PST -0800, which is 28,800 seconds
before GMT. baloo appears to not handle the timezone here, although `balooshow`
does display the correct localtime (with no timezone) for recently updated
files

If I manually call for reindex with `balooctl index /path/to/1970_file`, the
command prints
    Skipping:
/home/spage/programs/skrooge_dev/skrooge/flatpak_build-dir/files/share/doc/HTML/en/skrooge/dashboard_report.png
Reason: Already indexed

I don't know if this skip happens when baloo thinks it needs to reindex these
files.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to