Bug 167620

Summary: Menu isn't updated when a .desktop is added on $XDG_DATA_DIRS
Product: [Plasma] plasma4 Reporter: Nicolas L. <kde>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bedi.com, mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolas L. 2008-07-28 21:33:27 UTC
Version:            (using KDE 4.0.98)
Installed from:    Mandriva RPMs

Mandriva bugreport: https://qa.mandriva.com/show_bug.cgi?id=42308

Menu isn't updated when a .desktop is added on $XDG_DATA_DIRS, we have to do kbuildsycoca4 manually
Comment 1 Aaron J. Seigo 2008-07-28 23:16:40 UTC
once you do a kbuildsycoca4, though, the menu updates properly?
Comment 2 Sergio Rafael Lemke 2008-07-29 00:02:20 UTC
I can confirm this with the traditional kmenu style, install an app (i used xmms) and the entry will appear normally, uninstall xmms and you will note the entry still on menu, running kbuildsycoca4 does not remove xmms icon.

thanks,
Sergio Rafael Lemke
Comment 3 Aaron J. Seigo 2008-07-29 00:51:16 UTC
Sergio: that's a different issue, isn't it? (adding vs removal, etc.)
Comment 4 Nicolas L. 2008-07-29 07:46:46 UTC
i asked on downstream bugreport and the answer is :


No!
" kbuildsycoca4 " and " kbuildsycoca4 --noicremental " didn't resolve.
-------------------
Andre Machado
Qa Team


for sergio, i have the same behaviour, this seems related to the same bug, menu do not see the changes done on  $XDG_DATA_DIRS ( files added, changed, removed )
Comment 5 Sebastian Sauer 2008-08-02 03:56:41 UTC
Fixed with r840866 and the fix will be part of 4.1.1. See also bug #167688 and thanks for the feedback :)
Comment 6 Sebastian Sauer 2008-08-02 04:31:41 UTC
r840866 AND r840872 actually (2 commits).