Bug 421404

Summary: Starting .desktop files execs with wrong arguments
Product: [Frameworks and Libraries] frameworks-kio Reporter: Fabian Vogt <fabian>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: critical CC: kdelibs-bugs, tagwerk19
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***