Bug 337407 - Krusader does not handle *.desktop files properly
Summary: Krusader does not handle *.desktop files properly
Status: RESOLVED DUPLICATE of bug 308694
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4.0-beta3 "Single Step"
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-12 21:31 UTC by Dmitry Alexandrov
Modified: 2018-05-06 00:15 UTC (History)
3 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 Dmitry Alexandrov 2014-07-12 21:31:38 UTC
Konqueror and Dolphin handles *.desktop files as shortcuts, i. e. when you ‘open’ them an application or URI which *.desktop file points to is launched. But Krusader treats them as plain text files.

Krusader also does not show individual icons for *.desktop files (while Konqueror / Dolphin does that) but a gear as for binary executables for all them.

Reproducible: Always

Steps to Reproduce:
1. Find any *.desktop file. Somewhere in /usr/share/applications/ maybe.
2. Try to ‘open’ it (i. e. hit ‘Enter’ or double-click it).
Actual Results:  
A file will be opened by association for ‘application/x-desktop’ type – in a text editor most probably.

Expected Results:  
I believe that Krusader should act as other KDE apps do, i. e. exec destination app or URI.

Possible workaround is to associate *.desktop files to be opened by ‘kioclient open’ which is also handles them correctly. But this does not resolve the problem with icons.
Comment 1 Stanislav 2014-09-25 14:34:05 UTC
As a temporary workaround, you can use this script - http://onedev.net/post/490
Comment 2 Dmitry Alexandrov 2014-09-25 19:06:36 UTC
(In reply to Stanislav from comment #1)
> As a temporary workaround, you can use this script -
> http://onedev.net/post/490

Sorry, I can’t see a point here. While shortcuts to web-pages indeed a main use-case for *.desktop files stored throughout the file-system, why re-inventing a bicycle, who forbids you to associate them with ‘kioclient open’?
Comment 3 linnets 2014-10-14 22:47:54 UTC
It's duplicated bug, that was reported https://bugs.kde.org/show_bug.cgi?id=337407

Read comment by Jan Lepper, his krusader-next branch was fixed this bug.
Comment 4 Dmitry Alexandrov 2014-10-14 23:01:55 UTC
(In reply to linnets from comment #3)
> It's duplicated bug, that was reported
> https://bugs.kde.org/show_bug.cgi?id=337407
> 
> Read comment by Jan Lepper, his krusader-next branch was fixed this bug.

That’s a good news, however I am afraid, I did not understand which bug is duplicated and where the comment by Jan Lepper is.
Comment 5 linnets 2014-10-15 00:34:53 UTC
Hey, sorry, copy wrong link ;)
https://bugs.kde.org/show_bug.cgi?id=308694
Comment 6 Marcin Gryszkalis 2016-10-04 22:36:46 UTC

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