<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>440507</bug_id>
          
          <creation_ts>2021-08-01 18:07:57 +0000</creation_ts>
          <short_desc>Command-line arguments specified in exec= line get removed</short_desc>
          <delta_ts>2022-09-01 14:27:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kglobalaccel</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Rotter">rotter.martinos</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>a.samirh78</cc>
    
    <cc>admin</cc>
    
    <cc>dev+kde</cc>
    
    <cc>devguy.ca</cc>
    
    <cc>hey</cc>
    
    <cc>kde</cc>
    
    <cc>lukas</cc>
    
    <cc>MurzNN</cc>
    
    <cc>nate</cc>
    
    <cc>philippe.roubach</cc>
    
    <cc>poperigby</cc>
          
          <cf_commitlink>https://invent.kde.org/frameworks/kglobalaccel/commit/625b53f516d27eb61eaad00175dd7108bf82572f</cf_commitlink>
          <cf_versionfixedin>5.98</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2050273</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Rotter">rotter.martinos</who>
    <bug_when>2021-08-01 18:07:57 +0000</bug_when>
    <thetext>SUMMARY
I like Tilix (terminal emulator). Tilix has a command &quot;tilix --quake&quot; to launch it as drop-down terminal. Unfortunately, nothing happens when I configure my KDE to use the command.


STEPS TO REPRODUCE: See pictures here - https://imgur.com/a/lc4dnci

OBSERVED RESULT: Nothing happens.


EXPECTED RESULT: &quot;tilix --quake&quot; command is launched.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch/KDE - 5.22.4
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050465</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-02 18:05:35 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050657</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Rotter">rotter.martinos</who>
    <bug_when>2021-08-03 06:28:49 +0000</bug_when>
    <thetext>Anyway, there is no easy way of hooking arbitrary command to a keyboard shortcut?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051053</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-04 15:20:50 +0000</bug_when>
    <thetext>The older KHotkeys system will let you do it. Being unable to do it using the newer kglobalaccel system is just a bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051166</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-04 19:33:17 +0000</bug_when>
    <thetext>*** Bug 440107 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2062809</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-09-21 19:48:27 +0000</bug_when>
    <thetext>*** Bug 442626 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2127646</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Samir">a.samirh78</who>
    <bug_when>2022-05-29 18:55:38 +0000</bug_when>
    <thetext>Seems to work now; do you still see this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145980</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-15 23:48:12 +0000</bug_when>
    <thetext>*** Bug 456972 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145982</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-15 23:48:15 +0000</bug_when>
    <thetext>*** Bug 456589 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145984</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-15 23:48:20 +0000</bug_when>
    <thetext>*** Bug 457932 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145988</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-16 00:12:04 +0000</bug_when>
    <thetext>Git commit 625b53f516d27eb61eaad00175dd7108bf82572f by Nate Graham, on behalf of Nicolas Fella.
Committed on 16/08/2022 at 00:12.
Pushed by ngraham into branch &apos;master&apos;.

Don&apos;t pass Exec arguments to kstart when launching via desktop entry name

If we have a desktop file org.kde.foo.desktop with &quot;Exec=foo bar bla&quot;

we are currently calling &quot;kstart5 --application org.kde.foo bar bla&quot;

However we need to call &quot;kstart5 --application org.kde.foo&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149601</commentid>
    <comment_count>11</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-09-01 13:29:51 +0000</bug_when>
    <thetext>*** Bug 457872 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149626</commentid>
    <comment_count>12</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-09-01 14:27:29 +0000</bug_when>
    <thetext>*** Bug 458213 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>