snap-store declares support for application/vnd.flatpak.ref but doesn't actually support them

Bug #1875634 reported by Marius Gedminas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snap-store-desktop
Fix Released
Medium
Ken VanDine

Bug Description

Steps to reproduce:

1. Go to https://flathub.org/apps/details/org.gnome.Connections
2. Click Install

Expected behavior:

- the downloaded flatpakref file gets opened by some app that can install flatpaks on my system

Actual behavior:

- the downloaded flatpakref gets opened by snap-store (confusingly calling itself "Ubuntu Software"), which says "Couldn't install: unsupported" (I'm translating back from lt_LT)

This is not user friendly.

I think this is because /snap/snap-store/current/meta/gui/ubuntu-software-local-file.desktop has a MimeType that lists application/vnd.flatpak.ref, among others.

(There's also /snap/snap-store/current/usr/share/applications/gnome-software-local-file.desktop and /snap/snap-store/current/usr/share/mime/packages/freedesktop.org.xml that mention application/vnd.flatpak.ref, and I'm not sure which of these files is relevant.)

Revision history for this message
Marius Gedminas (mgedmin) wrote :

I should probably mention that I'm on Ubuntu 20.04. (I got used to ubuntu-bug adding this sort of information for me usually, but I filed this bug by clicking the Contact link in 'snap info snap-store'.)

Changed in snap-store:
status: New → Confirmed
importance: Undecided → Medium
Changed in snap-store:
assignee: nobody → Ken VanDine (ken-vandine)
Changed in snap-store:
status: Confirmed → Fix Committed
Changed in snap-store:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.