Summary: | Command-line arguments specified in exec= line get removed | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kglobalaccel | Reporter: | Martin Rotter <rotter.martinos> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, admin, dev+kde, devguy.ca, hey, kde, lukas, MurzNN, nate, philippe.roubach, poperigby |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kglobalaccel/commit/625b53f516d27eb61eaad00175dd7108bf82572f | Version Fixed In: | 5.98 |
Sentry Crash Report: |
Description
Martin Rotter
2021-08-01 18:07:57 UTC
Can reproduce. It seems like command-line flags get removed. Interestingly enough, any paths you pass in are not removed. So when I set a global shortcut to launch: dolphin --select /home/nate/Desktop/Contribute.png What actually happens is that Dolphin is launched like so: dolphin /home/nate/Desktop/Contribute.png Anyway, there is no easy way of hooking arbitrary command to a keyboard shortcut? The older KHotkeys system will let you do it. Being unable to do it using the newer kglobalaccel system is just a bug. *** Bug 440107 has been marked as a duplicate of this bug. *** *** Bug 442626 has been marked as a duplicate of this bug. *** Seems to work now; do you still see this issue? *** Bug 456972 has been marked as a duplicate of this bug. *** *** Bug 456589 has been marked as a duplicate of this bug. *** *** Bug 457932 has been marked as a duplicate of this bug. *** Git commit 625b53f516d27eb61eaad00175dd7108bf82572f by Nate Graham, on behalf of Nicolas Fella. Committed on 16/08/2022 at 00:12. Pushed by ngraham into branch 'master'. Don't pass Exec arguments to kstart when launching via desktop entry name If we have a desktop file org.kde.foo.desktop with "Exec=foo bar bla" we are currently calling "kstart5 --application org.kde.foo bar bla" However we need to call "kstart5 --application org.kde.foo" without any args kstart5/ApplicationLauncherJob will read the Exec line again and pick up the args FIXED-IN: 5.98 M +2 -3 src/runtime/kserviceactioncomponent.cpp https://invent.kde.org/frameworks/kglobalaccel/commit/625b53f516d27eb61eaad00175dd7108bf82572f *** Bug 457872 has been marked as a duplicate of this bug. *** *** Bug 458213 has been marked as a duplicate of this bug. *** |