Bug 167620 - Menu isn't updated when a .desktop is added on $XDG_DATA_DIRS
Summary: Menu isn't updated when a .desktop is added on $XDG_DATA_DIRS
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-kickoff (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-28 21:33 UTC by Nicolas L.
Modified: 2008-08-02 04:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).