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

--- Comment #6 from David Faure <fa...@kde.org> ---
~/.local/share/applications isn't "watched" (in the sense of inotify) (we used
to do that, and it was a lot of trouble due to inotify limits (kdevelop or
qtcreator easily used up all inotify watchers) -- plus, what if the change
happens while not in Plasma...).

Instead the directory timestamps are compared with the cache's timestamp any
time the cache is used (i.e. "on demand"). This happens when e.g. clicking on a
file and we have to find out which app to launch -- the cache will be updated
first. This makes the solution very robust.
Dolphin's code is surely similar: upon opening the context menu, it first
checks for changes.

But I'm not sure about the case of the K menu, I didn't work on that part. If
it's all about the K menu, then the bug needs to move to plasma
(well, unless the plasma people are counting on KDE Frameworks for this, but
hopefully not - I vaguely remember something about updating this when opening
the K menu, based on timestamps again, which would be the right time to do
so....)

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

Reply via email to