snap permission is listed twice, switches stuck to mutually exclusive settings

Bug #1800323 reported by Stéphane Guillou
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Software
New
Undecided
Unassigned

Bug Description

I installed Gifcurry 4.0.0.0 from Software in Ubuntu 18.04 (Budgie flavour-based derivative) and I noticed that the "Permissions" menu shows "Play and record sound" twice, the first one off by default, the second one on by default (see screenshot). If I turn the first one on, it is back to off when I reopen the "Permissions" menu. If I turn the second one off, it is back to on when I reopen the "Permissions" menu.

I have been told on the Gifcurry repo that this might be an issue with Snaps: https://github.com/lettier/gifcurry/issues/29#issuecomment-432518340

Following the developper's instructions and running the following:

```
sudo snap connect gifcurry:mount-observe
sudo snap connect gifcurry:removable-media
sudo snap connect gifcurry:raw-usb
sudo snap connect gifcurry:pulseaudio
```

... I could get to a point where but sliders were set to the same "on" setting, but they still appear twice.

My system:

OS: Ubuntu 18.04.1 LTS x86_64
Host: N230WU
Kernel: 4.15.0-38-lowlatency
Shell: bash 4.4.19
Resolution: 1920x1080, 1920x1080
DE: Budgie
WM: Mutter(Budgie)
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
CPU: Intel i7-8550U (8) @ 4.000GHz
GPU: Intel UHD Graphics 620
Memory: 4876MiB / 15918MiB

Revision history for this message
Stéphane Guillou (stephane-guillou) wrote :
Revision history for this message
John Lenton (chipaca) wrote :

I think what's happening is that "alsa" and "pulseaudio" both get the same description in gnome software, which is confusing. I don't know why it then doesn't toggle the right one.

At the same time, I'd be highly suspicious of this snap: why does something that creates gifs need access to raw usb, to reading the mount tables, and to record audio?

affects: snapcraft → gnome-software
Revision history for this message
Stéphane Guillou (stephane-guillou) wrote :

Thanks for the reply, John. The ALSA + PA explanation makes sense (I have both).
Good point about superfluous permissions, I uninstalled for now and asked the developer why that is.

Revision history for this message
Stéphane Guillou (stephane-guillou) wrote :

Hi @chipaca
Here is the developer's detailed response about extra permissions in the snap: https://github.com/lettier/gifcurry/issues/29#issuecomment-434128583
Cheers

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.