Bug 420511

Summary: Applications in the Recent Applications menu do not launch their additional options correctly
Product: [Plasma] krunner Reporter: joey.joey586
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, bugseforuns, nate
Priority: NOR    
Version: 5.18.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.19.1
Sentry Crash Report:
Attachments: video showing the bug

Description joey.joey586 2020-04-24 12:19:55 UTC
Created attachment 127833 [details]
video showing the bug

SUMMARY
Apps that appear in the Recent Applications menu does not run their additional options, for example if I right-click the Firefox icon and select Private Window it will not open a private window, but a file url.

STEPS TO REPRODUCE
1. Run Firefox from the application launcher, making it appear in the Recent Applications category
2. Right-click the Firefox icon from the Recent menu and select Private window
3. Notice how it opens a normal window saying "cannot find file /usr/bin/firefox --private-window" instead of a private window

OBSERVED RESULT
Additional options in .desktop files are not executed when clicked on

EXPECTED RESULT
.desktop files should behave as intended

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.6-zen1-1-zen
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 11.5 GiB of RAM


ADDITIONAL INFORMATION

Happens with all apps where their .desktop files have additional execution options (like Libreoffice, Chromium, etc)
Comment 1 joey.joey586 2020-04-26 06:48:32 UTC
(I'm not really sure where to put it so i put it in krunner; sorry if i put it in the wrong category)
Comment 2 Alexander Lohnau 2020-06-11 11:21:50 UTC
The component where you wanted to add it is called kicker.

And I can reproduce this behavior, in the other launchers, but I get an error message from KIOExec.
Comment 3 Alexander Lohnau 2020-06-11 12:37:21 UTC
I have wrote a fix for this:
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/56
Comment 4 Patrick Silva 2020-06-13 12:29:16 UTC
The launcher shown in the screen recording is called Dashboard. :)

Thank you very much for your fix Alex.