Bug 167149 - deleting .desktop files from /usr/share/applications causes several major problems with Application Menu Launcher
Summary: deleting .desktop files from /usr/share/applications causes several major pro...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-kickoff (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 16:47 UTC by Soren Harward
Modified: 2009-05-01 13:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soren Harward 2008-07-21 16:47:20 UTC
Version:            (using KDE 4.0.98)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.2 
OS:                Linux

When I uninstall a program (ie, unmerge it on Gentoo) and the corresponding .desktop file gets deleted from /usr/share/applications, the Application Launcher Menu (the traditional view, not the new one) starts having several major problems:

1) The application icon doesn't get removed from the menu
2) Most other applications are now un-launchable.  Clicking on their icons does nothing.
3a) If the menu directory is now empty (eg, if I just removed the last entry in "Games"), the directory doesn't get removed, and ...
3b) ... the other directories are now mis-aligned.  Eg, hovering over the "Multimedia" directory shows the contents of the "Office" directory (the one immediately below it).  Hovering over the removed directory (eg, "Games") shows another copy of the root directory.

Re-running kbuildsycoca4 doesn't update the menu.  Only logging out and logging back in fixes these menu problems.
Comment 1 Sebastian Sauer 2008-11-30 16:35:47 UTC
Hi Soren,

is this still reproducable for you with KDE 4.1.3 or newer (e.g. 4.2 beta 1)? iirc there was such a bug in 4.1.0 but it was fixed later. Thanks for your feedback.
Comment 2 Nicolas L. 2009-03-01 01:58:35 UTC
i can't reproduce on kde 4.2.0 ( neither on kde 4.1.4 )
Comment 3 Jaime Torres 2009-04-25 11:46:06 UTC
Can not reproduce on kde 4.2.70.
Comment 4 Ruchir Brahmbhatt 2009-05-01 13:50:36 UTC
I also can't reproduce on trunk.