Debian policy: 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. Reproducible: Always Steps to Reproduce: 1. package 2. lintian error 3. Expected Results: no lintian error
Created attachment 89146 [details] Patch using %u %u A single URL. Local files may either be passed as file: URLs or as file path.
From what I can tell, the main use of the mime-type "application/x-palapeli-puzzle" is for use in a connection, via KDE's plugin and service system, between Palapeli and related code (a slicer library) that creates jigsaw puzzles from images supplied by the user. It is technically possible to start playing a puzzle by supplying a "*.puzzle" filepath on the command line, if Palapeli is started that way, but I think that is just for debugging and development purposes. If a user is playing, rather than creating, jigsaw puzzles, the usual method of operation is for him or her to select a puzzle from a (GUI) list after Palapeli starts. So I do not know whether changing the palapeli/src/palapeli.desktop file to say "Exec=palapeli %u" would be beneficial or harmful or whether removing the MimeType line from that file would be better or whether it would be best to leave well-enough alone. The mime type is definitely needed in four other files (two other *.desktop, one CMakeLists.txt and one *.xml), which implement the plugin referred to above. How serious is this problem for you? Your title suggests that it is just "lint".
(coming a bit late, but) I would still suggest to implement the proposed change. The application can start with the URL of a puzzle as command line argument, so having %u in the Exec line seems perfectly valid. (also, this is the last bug about this lintian error left on bugs.kde.org :)
I am sure it would be OK to omit the %u and disable the implementation of the filename parameter in the Palapeli source code. The original author has long since left the KDE Games team and I have never felt a need for it during debugging and development.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!