Bug 205696 - *.desktop files from symlinked directories are displayed but unusable
Summary: *.desktop files from symlinked directories are displayed but unusable
Status: CONFIRMED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-30 16:09 UTC by Andreas Beckermann
Modified: 2010-03-13 23:33 UTC (History)
0 users

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 Andreas Beckermann 2009-08-30 16:09:36 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I have a couple of *.desktop files in ~/.local/share/applications/ that are supposed to show up in the k-menu.

Usually this works, but it fails terribly when the files are in a subdirectory that is symlinked into ~/.local/share/applications.
In that case kbuildsycoca4 picks up all files correctly and displays them in the k-menu in the correct submenus. However when clicking on one of the menu entries *nothing* happens. Not even an error message.


Example:
Create a directory ~/games/ and add a .desktop file ~/games/foo.sh that starts a program.
Now go to ~/.local/share/applications/ and do a ln -s ~/games
 -> after starting kbuildsyscoca4 manually, the foo.sh entry is in the menu. clicking it has no effect at all. not even an error message!


These may actually be two problems:
(1) symlinked directories are traversed, but entries are entirely useless and
(2) if launching the application failes, no error message or feedback of any kind is given to the user.