https://bugs.kde.org/show_bug.cgi?id=524242
Bug ID: 524242
Summary: desktop:/ subpaths list correctly but launching is a
silent no-op
Classification: Plasma
Product: plasmashell
Version First 6.6.0
Reported In:
Platform: Kubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: desktop:/ IOWorker
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Product: plasmashell · Component: desktop:/ IOWorker ("Only for bugs in the
desktop:/ KIO Worker") · Severity: normal
The component has six bugs in it, all about properties dialogs, symlinks and
drag-and-drop. Nothing on execution — this is not a duplicate.
SUMMARY
The desktop:/ KIO worker implements listing for subdirectories of the desktop
folder, but not execution. Launching a .desktop file through a desktop:/
subpath exits with status 0 and starts nothing. No error is shown, logged, or
returned to the caller.
Because listing works, a Folder View pointed at desktop:/SomeFolder renders a
complete, correct-looking grid of applications where every icon is inert.
STEPS TO REPRODUCE
1. mkdir ~/Desktop/Apps and copy a launcher into it: cp
/usr/share/applications/org.kde.kcalc.desktop ~/Desktop/Apps/
2. Confirm the file launches through KIO by its real path: kioclient exec
/home/$USER/Desktop/Apps/org.kde.kcalc.desktop
3. Launch the same file through the desktop:/ worker: kioclient exec
desktop:/Apps/org.kde.kcalc.desktop
4. Confirm listing works on the same path: kioclient ls desktop:/Apps
OBSERVED RESULT
URL passed to KIO ----> Result
1. /home/$USER/Desktop/Apps/org.kde.kcalc.desktop ----> launches
2. desktop:/Apps/org.kde.kcalc.desktop ----> exits 0, launches nothing
3. same, after chmod +x on the file ----> exits 0, launches nothing
4. desktop:/Apps (listing) ----> works fine
Launching succeeds only at the desktop root — desktop:/org.kde.kcalc.desktop
works. Any subdirectory breaks it.
EXPECTED RESULT
Either execution works for subpaths as it does at the root, or the attempt
fails loudly with an error the caller can see. Silent success is the harmful
part: a Folder View built on desktop:/ looks entirely correct and does nothing
when clicked, which is very expensive to diagnose.
ADDITIONAL INFORMATION
Marking the file executable makes no difference, so this does not appear to be
the .desktop trust mechanism. Found while evaluating Folder View as a grouped
launcher panel; the workaround was to abandon Folder View entirely in favour of
org.kde.plasma.quicklaunch.
--
You are receiving this mail because:
You are watching all bug changes.