Bug 409343

Summary: Show some kind of GUI error message instead of failing silently when an app can't be launched
Product: [Frameworks and Libraries] frameworks-kio Reporter: don.vhs
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, cullmann, kdelibs-bugs, mikel5764, nate, noahadvs, plasma-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description don.vhs 2019-06-30 21:36:53 UTC
SUMMARY
In my previous bug report, I couldn't get a program to open from the application launcher, because I had not set its working dir: https://bugs.kde.org/show_bug.cgi?id=408894

Instead of failing silently when trying to open it, it would have been helpful if I had gotten an error message (like "command not found").

STEPS TO REPRODUCE
1. Add faulty item to the application menu
2. Try to start it

OBSERVED RESULT
It fails to open without any error message or anything

EXPECTED RESULT
An error message popping up would be helpful.
Comment 1 Nate Graham 2021-01-06 17:46:03 UTC
Not really an issue in Kickoff; moving to the kinit framework so a generic solution could be implemented there.
Comment 2 Christoph Cullmann 2023-07-03 21:25:35 UTC
Given kinit is gone for kf6 I think one needs a solution in the application launcher, if one wants to have that.
Comment 3 Nate Graham 2023-07-04 13:48:50 UTC
It could also conceivably be done in KIO::ApplicationLauncherJob and KIO::CommandLauncherJob as a generic solution; moving there.