Bug 386696

Summary: desktop-mime-but-no-exec-code lintian error when packaging.
Product: [Applications] kimagemapeditor Reporter: clivejo <clivejo>
Component: generalAssignee: Jan Schaefer <j_schaef>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description clivejo 2017-11-09 22:06:19 UTC
usr/share/applications/org.kde.kimagemapeditor.desktop

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.
Comment 1 Luigi Toscano 2017-11-17 10:50:16 UTC
Git commit 6e914b7c1f51161fa6e4cb692146b7f9057c24ba by Luigi Toscano.
Committed on 17/11/2017 at 10:46.
Pushed by ltoscano into branch 'Applications/17.12'.

.desktop: kimagemapeditor can take a list of files

Remote URLs do not work (at least http), which could be a bug or not
(see the old bug 144151 for ftp).
For now fix the desktop file, because it specifies a MimeType entry
and that means the need for a keyword (%f, %F, %u or %U) in the Exec
line (lintian says desktop-mime-but-no-exec-code), or the MimeType
entry to be dropped.

M  +1    -1    org.kde.kimagemapeditor.desktop

https://commits.kde.org/kimagemapeditor/6e914b7c1f51161fa6e4cb692146b7f9057c24ba