Bug 205696

Summary: *.desktop files from symlinked directories are displayed but unusable
Product: [Unmaintained] kdelibs Reporter: Andreas Beckermann <b_mann>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.
Comment 1 Christoph Cullmann 2024-09-14 17:06:36 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have resolved this bug.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann