I tried to upload a photo from a CD (yes, a CD) to social media today, and it failed because Firefox doesn’t have removable-media auto-connected in the store. I used snap connect firefox:removable-media and tried again, and it worked (without a browser restart - yay).
Can we please have a store assertion for Firefox, so it auto-connects?
I’m running the stable release of firefox (60.0.2-1) which seems to already have removable-media specified, but it’s not an auto-connecting interface. Once you (as a user) manually connect it, everything is fab and groovy. This forum post is to ask the snap store team to auto-connect it, so users don’t have to. That’s all
I have mixed feelings about the auto-connection. I understand the use case, but it also doesn’t seem unreasonable for the interface to be manually connected. IIRC, firefox uses gtk3 on Linux; does that mean it can be made to work with portals?
In the long run, portals would be the answer. I don’t think we’ve yet got everything in place so that Mozilla could rely on portals being available though: we don’t have the host side packages backported to 16.04 yet, and they aren’t installed by default on 18.04.
So I’m not sure if that’s enough to reject the request if it is causing pain right now.
I can’t pretend that requiring a user to know about and know how to connect an interface in order to do something is ideal, but I don’t think that’s a reason to start automatically connecting interfaces for everyone, particularly given that we’re moving towards portals. I’m a -1 on this.
support for /mnt is in the process of being added to the removable-media interface, but not sure it has landed in the stable channel yet … you might want to test the core snap from edge (with the right amount of caution when using an edge snap indeed)