Bug 424782 - org.kde.kdeconnect_open.desktop: does not pass validation w/ multiple invalid values (was: invalid mime type)
Summary: org.kde.kdeconnect_open.desktop: does not pass validation w/ multiple invalid...
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: plasmoid (show other bugs)
Version: 1.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-29 07:35 UTC by Axel Braun
Modified: 2023-06-14 13:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2020-07-29 07:35:52 UTC
In kdeconnect-kde/data/org.kdeconnect:open_desktop the mime type
MimeType=*/*;
is used. This one is invalid (and issues warnings every time mime-types are touched during an update)

Can you replace this with a valid mime-type?
Thank you!
Comment 1 Andreas Sturmlechner 2020-08-30 19:40:28 UTC
 * QA Notice: This package installs one or more .desktop files that do not
 * pass validation.
 * 
 * 	/usr/share/applications/org.kde.kdeconnect_open.desktop: error: (will be fatal in the future): value "*/*;" for key "MimeType" in group "Desktop Entry" contains value "*/*" which is an invalid MIME type: "*" is an unregistered media type
 * 	/usr/share/applications/org.kde.kdeconnect_open.desktop: error: key "Categories" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
 * 	/usr/share/applications/org.kde.kdeconnect_open.desktop: error: key "Exec" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
 * 	/usr/share/applications/org.kde.kdeconnect_open.desktop: error: key "MimeType" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
 * 	/usr/share/applications/org.kde.kdeconnect_open.desktop: error: key "Terminal" is present in group "Desktop Entry", but the type is "Service" while this key is only valid for type "Application"
 *
Comment 2 Nicolas Fella 2023-06-11 17:56:04 UTC
The mimetype issue is fixed with https://invent.kde.org/network/kdeconnect-kde/-/commit/f1ce22124ce7dd630b8e909b4c50f90f035166d5
Comment 3 Bug Janitor Service 2023-06-11 17:57:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/553
Comment 4 Nicolas Fella 2023-06-14 13:02:34 UTC
Git commit 7569a6ceffc6fc169186e401d33ce1f2049ec5e4 by Nicolas Fella.
Committed on 14/06/2023 at 12:58.
Pushed by nicolasfella into branch 'master'.

Fix kdeconnect_open desktop file type

It's an application, not a service

Also don't make it executable, it's not needed

M  +1    -1    data/CMakeLists.txt
M  +1    -1    data/org.kde.kdeconnect_open.desktop

https://invent.kde.org/network/kdeconnect-kde/-/commit/7569a6ceffc6fc169186e401d33ce1f2049ec5e4
Comment 5 Nicolas Fella 2023-06-14 13:05:49 UTC
Git commit 276c2f1334345071eaeef9aea87c96cdd199f8f0 by Nicolas Fella.
Committed on 14/06/2023 at 13:05.
Pushed by nicolasfella into branch 'release/23.04'.

Fix kdeconnect_open desktop file type

It's an application, not a service

Also don't make it executable, it's not needed
(cherry picked from commit 7569a6ceffc6fc169186e401d33ce1f2049ec5e4)

M  +1    -1    data/CMakeLists.txt
M  +1    -1    data/org.kde.kdeconnect_open.desktop

https://invent.kde.org/network/kdeconnect-kde/-/commit/276c2f1334345071eaeef9aea87c96cdd199f8f0