Use QCoreApplication::applicationName for the token used to request access to microphone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
Low
|
Olivier Tilloy |
Bug Description
(originally reported at https:/
I just did a quick test by modifying the webview implementation in the browser to always accept media access permission requests:
WebView {
}
And this is enough to make audio recording just work (successfully tested with https:/
The first time the browser requests access to the microphone, I get a trust prompt saying: "Chrome input wants to record audio.".
This decision is remembered, but when I go to system-
sqlite> select * from requests;
Id|
1|Chrome input|0|
This is not very user friendly, I guess system settings try to match the application ID ("Chrome input") with an existing app, and failing to do that it displays an empty entry.
Oxide should use the application name (as exposed by QCoreApplicatio
This will probably require patching chromium, as the token is hardcoded in src/media/
Related branches
- Chris Coulson: Approve
-
Diff: 51 lines (+21/-0)3 files modifiedpatches/pa-context-application-name.patch (+16/-0)
patches/series (+1/-0)
shared/browser/oxide_browser_main_parts.cc (+4/-0)
Changed in oxide: | |
status: | New → In Progress |
assignee: | nobody → Olivier Tilloy (osomon) |
importance: | Undecided → Low |
Changed in oxide: | |
status: | In Progress → Fix Released |
milestone: | none → branch-1.11 |