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

--- Comment #3 from Harald Sitter <sit...@kde.org> ---
(In reply to David Faure from comment #1)
> We could undeprecate KSycoca::disableAutoRebuild() (or call it something
> else) and in there delete d->m_fileWatcher.

That would disable reloading entirely, right? I believe that would break things
a bit.

e.g.
- user starts krunner and types 'vlc'
- vlc isn't installed so the appstream runner sends the user to discover to
install vlc
- after installation user types 'vlc' in krunner again
- krunner should now list the actual vlc service

So we need to reload the database, arguably even with the kdirwatch, but if the
runner thread is unused for N seconds we want to stop watching and only start
again when a servicerunner query begins again.

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

Reply via email to