Bug 412305 - Dolphin / xdg-open no longer launches .desktop programs
Summary: Dolphin / xdg-open no longer launches .desktop programs
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.08.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 04:59 UTC by Michael
Modified: 2024-03-31 12:41 UTC (History)
4 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 Michael 2019-09-25 04:59:03 UTC
SUMMARY

Dolphin (or is it xdg-open?) has a regression where it no longer launches programs when directly executing a .desktop file. 

This is notably visible when a privacy-minded user downloads and runs the Tor Browser via its "start-tor-browser.desktop" icon.


STEPS TO REPRODUCE

1. Go to https://www.torproject.org/download/ and download the Tor Browser for Linux.
2. Extract the .tar.xz file to your Downloads folder
3. In Dolphin, open the Downloads folder, then enter the "tor-browser_??-??" folder.
4. Click-to-run the "start-tor-browser.desktop" file.

5. Alternatively, from the command line, type:

   $ xdg-open start-tor-browser.desktop


OBSERVED RESULT

The "start-tor-browser.desktop" file opens in the default text editor. This will confuse a new KDE user, and annoy experienced KDE users.

This file has its "Is executable" permission set so this shouldn't be an issue. 

The xdg-open command has the same effect, so maybe the underlying issue is with xdg instead?


EXPECTED RESULT

"start-tor-browser.desktop" should execute its "Exec" line to configure and run the Tor browser.


SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.3


ADDITIONAL INFORMATION

Since KDE has an explicit goal of user privacy, this bug should be a high priority.
Comment 1 Kai Uwe Broulik 2019-09-26 06:44:04 UTC
Should be fixed by https://cgit.kde.org/kio.git/commit/?id=fdb10a52bfe84e585258dbd6a80a0fadb35e7d79
There's been a followup 5.62.1 release for this.