Bug 505565 - Desktop entry files cannot be executed from `programs:/` or `applications:/`
Summary: Desktop entry files cannot be executed from `programs:/` or `applications:/`
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.12.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-13 13:31 UTC by Hanii Puppy
Modified: 2025-06-16 16:26 UTC (History)
2 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 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.