[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-22 Thread Olivier Tilloy
The way oxide is architected is for the most part dictated by the chromium content API. I get your point about trying to gracefully handle the situation, however I don’t see how we can reasonably implement it given the existing constraints. I don’t want to downplay the importance of the bug, I 

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-22 Thread Matthew Paul Thomas
If Oxide implements the video part but not the microphone part, and that’s not going to change, I guess this whole discussion is moot. (That seems like odd architecture, though.) I suggested 2 seconds because that was a reasonable limit to wait. If the two permissions are asked with a 3-second

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-14 Thread Olivier Tilloy
Although this makes sense from a UX point of view, this sounds highly impractical to implement: oxide merely implements interfaces exposed by chromium for access to camera/microphone (actually not even for microphone, where it talks to pulseaudio directly, no oxide-specific code there). So it

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-14 Thread Matthew Paul Thomas
It would be bad for trust-store to aggregate arbitrary permission requests into a single prompt, because that would make it easier for apps to get away with asking for permissions that they shouldn’t have. For example, a maps app that asks for access to your contacts at exactly the same time as it

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-14 Thread Olivier Tilloy
** Project changed: oxide => trust-store (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1554149 Title: Asks for separate permission for microphone and camera To manage notifications about

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: trust-store (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1554149 Title:

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-07 Thread Olivier Tilloy
> This might not be fixable, if the Web APIs for recording > video and audio are separate. Not sure about that, this will require some investigation in oxide. ** Package changed: webbrowser-app (Ubuntu) => oxide ** Changed in: oxide Status: Confirmed => New -- You received this bug

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-07 Thread Olivier Tilloy
@Peter: the prompt you’re seeing is the one to grant access to the web API (MediaDevices.getUserMedia()). The trust store / apparmor operate at an entirely different level, by intercepting direct access to the hardware. You’re probably not seeing the trust store prompts because you have already

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-07 Thread Peter Bittner
This works for me already on vegeta (OTA-9.1), i.e. only a single dialog pops up asking for access to both camera and microphone. At least for the German translation the dialog says it like this (see bug 1553482). -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-07 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: webbrowser-app (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1554149

[Bug 1554149] Re: Asks for separate permission for microphone and camera

2016-03-07 Thread Matthew Paul Thomas
** Description changed: 0. Flash the phone. 1. In the Browser, go to a page that asks both to record video and use the microphone, such as . What happens: * A prompt appears asking to record audio. * Another prompt appears asking to use the camera.