Bug 421404 - Starting .desktop files execs with wrong arguments
Summary: Starting .desktop files execs with wrong arguments
Status: RESOLVED DUPLICATE of bug 421364
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 11:34 UTC by Fabian Vogt
Modified: 2020-05-12 11:59 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 Fabian Vogt 2020-05-12 11:34:29 UTC
Launching .desktop files causes the command to be executed with the path to the .desktop file itself appended.

To reproduce:

1. Navigate to "Kate" in the launcher, add it to the Desktop
2. Click on the new "Kate" icon on the desktop
3. Kate opens the .desktop file it was started from

This breaks starting most applications, as they don't deal well with a stray argument.
Comment 1 tagwerk19 2020-05-12 11:57:21 UTC
Also have a read of Bug 421364 and discussion under Bug 421329
Comment 2 Fabian Vogt 2020-05-12 11:59:44 UTC

*** This bug has been marked as a duplicate of bug 421364 ***