Bug 151501 - File Properties dialog: "ksystraycmd" disppears from .desktop file's command field (leaving the possible command line switchers alone)
Summary: File Properties dialog: "ksystraycmd" disppears from .desktop file's command ...
Status: RESOLVED NOT A BUG
Alias: None
Product: kfile
Classification: Unmaintained
Component: kpropertiesdialog (show other bugs)
Version: 4.10.1
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 08:45 UTC by 石庭豐
Modified: 2018-06-15 02:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 石庭豐 2007-10-29 08:45:11 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Mandriva RPMs
OS:                Linux

Steps to reproduce the problem:
1. Create a "link to application" .desktop file, ie right-click anywhere on the desktop, choose "Create New" > "Link to Application..."

2. In Application tab, use ksystraycmd in the Command field. Eg
ksystraycmd kwrite

3. Validate the setup.

4. Right-click the file and choose to see its properties.  The word "ksystraycmd" would disappear from the Command field.  In our example, only the word "kwrite" remains!

But if we open the .desktop file in a text editor, we could see that "ksystraycmd" is still there, but it's hidden by properties window.

Is this a bug or a feature?  If it's a feature, why?  It's very annoying.

The first time I use ksystraycmd, I thought I had made mistake by forgetting to type ksystraycmd, but after a few tries, I was convinced that the problem didn't come from me!
Comment 1 Dario Andres 2009-05-01 17:31:56 UTC
This is an intended feature. It hiddens the "ksystraycmd" command but it enables the option "Place in SystemTray" in the Advanced settings of the shortcut
Comment 2 石庭豐 2009-05-02 11:58:55 UTC
Yes, I saw this as well a year ago.  But then the command becomes very odd when we need to specify ksystraycmd options, eg --hidden.

The Command field would become "--hidden kwrite".  Very odd.
Comment 3 Dario Andres 2009-05-02 19:21:09 UTC
Yes, that behaviour needs polishing. Reopening
Comment 4 Christoph Feck 2009-08-27 02:37:42 UTC
Moving from "kio/kfile" component to "kfile" product, helps sorting out duplicates.
Comment 5 Jekyll Wu 2013-03-13 14:12:41 UTC
Still an issue in KDE SC 4.10.1
Comment 6 Nate Graham 2018-06-15 02:31:25 UTC
ksystraycmd seems to be no more.