Snap builds installed with --dangerous does not get permission to play audio
Categories
(Firefox Build System :: Task Configuration, defect)
Tracking
(firefox86 affected)
Tracking | Status | |
---|---|---|
firefox86 | --- | affected |
People
(Reporter: dcicas, Unassigned)
References
(Blocks 1 open bug)
Details
Affected versions
- Fx 84.0.2 snap
Fx 78.6.1esr snap
Affected platforms
- ubuntu 18.04
Steps to reproduce
- Download Firefox 84.0.2/78.6.1 snap from candidates directory
- Install Firefox snap using
sudo snap install --dangerous firefox-84.0.2.snap
. - Run
snap run firefox
- Open Firefox and reach youtube.com
- Open any video.
Expected result
- Video starts with audio playback.
Actual result
- Video start but no audio is heard.
Regression range
This issue only occurs for these 2 snap builds.
Additional notes
- This issue occurred on 2 separate ubuntu desktop computers. The third one did not reproduce the issue.
- After we did some digging, Firefox snap does not have permission to play audio. On the third Ubuntu no manual permission was given to play audio, but it was set to allow by default.
- This issue was reproduced also on Fx 80.0 snap with this method.
Comment 1•4 years ago
|
||
AFAICT we're supposed to get audio playback permission through https://snapcraft.io/docs/pulseaudio-interface
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Mike, Mihai, do we have an owner for snap issues at the moment?
Comment 3•4 years ago
|
||
Mike, Mihai, do we have an owner for snap issues at the moment?
Unfortunately not, but we do have some community folks helping.
It's unclear if this is a regression?
Olivier, any thoughts on this one?
Comment 4•4 years ago
|
||
I would think this isn't a regression, rather working as intended.
When using the --dangerous flag to install a local .snap file, the snap store isn't involved, and therefore assertions that allow auto-connection of certain interfaces (like the pulseaudio one) aren't available.
If this is the recommended way of testing snap candidates, you will need to add a few manual connections to the instructions to simulate a working installation from the store:
snap connect firefox:avahi-observe
snap connect firefox:browser-sandbox
snap connect firefox:camera
snap connect firefox:cups-control
snap connect firefox:pulseaudio
snap connect firefox:removable-media
snap connect firefox:u2f-devices
Comment 5•4 years ago
|
||
I guess we'll close this then.
Daniel: Can you update the Snap testing document with Olivier's comment?
Updated•4 years ago
|
Reporter | ||
Comment 6•4 years ago
|
||
Hello,
I update our testing instructions for snap, with the above comment.
Description
•