Bug 345042 - desktop file associated with mime type, doesn't allow passing urls
Summary: desktop file associated with mime type, doesn't allow passing urls
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Rieder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 08:52 UTC by Harald Sitter
Modified: 2016-05-08 14:52 UTC (History)
1 user (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 Harald Sitter 2015-03-11 08:52:20 UTC
The desktop entry lists support for at least one mime type, but does not provide codes like %f, %F, %u or %U for the Exec key.

If the application can indeed handle files of the listed mime types, it should specify a way to pass the filenames as parameters.

Currently we have:
> cat src/org.kde.cantor.desktop |grep -E "Exec|Mime"
> Exec=cantor %i -qwindowtitle %c
> MimeType=application/x-cantor;

Reproducible: Always
Comment 1 Rex Dieter 2015-03-16 13:18:36 UTC
*** Bug 345107 has been marked as a duplicate of this bug. ***
Comment 2 Filipe Saraiva 2016-05-08 14:52:50 UTC
Hi Harald, I think currently it is fixed. Now the Exec property in .desktop file is:

> Exec=cantor %i -qwindowtitle %c %U

If it is not fixed please reopen it.
Thanks!