Bug 505565

Summary: Desktop entry files cannot be executed from `programs:/` or `applications:/`
Product: [Frameworks and Libraries] frameworks-kio Reporter: Hanii Puppy <Hanii.puppy>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 6.12.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hanii Puppy 2025-06-13 13:31:51 UTC
SUMMARY

Attempting to open desktop entry files from `programs:/`/`applications:/` results in it being opened as a file (e.g. in Kate) instead of opening its associated program.

STEPS TO REPRODUCE
1. Navigate to `programs:/` or `applications:/`
2. Open a folder. (A category)
3. Double-click any of the desktop entry files there.

OBSERVED RESULT

The desktop entry file is opened as a file instead of executing the associated program.

EXPECTED RESULT

The desktop entry file should execute the associated program, as desktop entry files outwith `programs:/`/`applications:/` do.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

Linux/KDE Plasma: KDE Neon 6.3
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9

ADDITIONAL INFORMATION

If I write a shell script and use that to open the desktop entry files, (via setting it as the program to open it with) the paths it passes are in `/run/user/(id)/kio-fuse-(string)/programs/`, the files there also not being executable.

Attempting to open with `xdg-open` or `kioclient` results in them being opened as regular files again. (i.e. in Kate)

desktop entry/.desktop files elsewhere operate as expected, it's just specifically in `programs:/`. (or `application:/`)

I'm running Kubuntu 25.04, but this also occurs in a fresh up-to-date install of KDE Neon in a VM.

Dragging these files to the task manager produces a correctly-working shortcut in the task manager. Dragging these files to a panel produces a correctly-working shortcut in that panel.