Launchpad has imported 5 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=420431.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2020-04-22T20:12:05+00:00 Orctarorga wrote:

In the desktop file `org.kde.kdeconnect_open.desktop`, the `MimeType` is
`*/*`. 

`update-desktop-database` is a tool provided in `desktop-file-utils`
that

> updates the database containing a cache of MIME types handled by
desktop files

When running `update-desktop-database`, it throws an error saying that

> "*/*" is an invalid MIME type ("*" is an unregistered media type)

This is reported in [Clear
Linux](https://github.com/clearlinux/distribution/issues/1906) and [Arch
Linux](https://bugs.archlinux.org/task/65865)

STEPS TO REPRODUCE
1. Run `update-desktop-database`

OBSERVED RESULT
> "*/*" is an invalid MIME type ("*" is an unregistered media type)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400/comments/0

------------------------------------------------------------------------
On 2020-04-23T06:57:42+00:00 8p-k26-gj wrote:

Is that probably what the "all/allfiles" type is for?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400/comments/1

------------------------------------------------------------------------
On 2020-04-23T15:12:51+00:00 Saikat Patra wrote:

I can reproduce this in v1.4, might be present in later versions too.

*/* is not a valid mime type. If I assume this mime type is supposed to
include all files, the valid mime type for that is application/octet-
stream.

Modifying /usr/share/applications/org.kde.kdeconnect_open.desktop to
reflect the same fixes the issue.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400/comments/2

------------------------------------------------------------------------
On 2020-04-24T15:05:03+00:00 Rex Dieter wrote:

there's multiple validation errors with this .desktop file, MimeType is
one:

$ desktop-file-validate 
kdeconnect-kde-20.04.0/data/org.kde.kdeconnect_open.desktop | grep error:
kdeconnect-kde-20.04.0/data/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
kdeconnect-kde-20.04.0/data/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"
kdeconnect-kde-20.04.0/data/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"
kdeconnect-kde-20.04.0/data/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"
kdeconnect-kde-20.04.0/data/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"

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400/comments/3

------------------------------------------------------------------------
On 2020-06-14T10:04:30+00:00 Philipp Reichmuth wrote:

You can fix this by changing */* to application/octet-stream as
suggested by Saikat Patra.

There are patches to this end for a number of distributions all over the
internet, like here: https://github.com/void-linux/void-
packages/commit/17060bfa012b12896d3d7ec502caa154af6135b4, but it's an
upstream issue.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kdeconnect/+bug/1878400/comments/6


** Changed in: kdeconnect-desktop
   Importance: Unknown => Medium

** Bug watch added: github.com/clearlinux/distribution/issues #1906
   https://github.com/clearlinux/distribution/issues/1906

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878400

Title:
  Invalid MIME type in org.kde.kdeconnect_open.desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdeconnect-desktop/+bug/1878400/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to