Closed Bug 1023238 Opened 10 years ago Closed 10 years ago

"Remember my choice" is not the default option pre-selected in GUM permission

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.0+, b2g-v2.0 verified, b2g-v2.1 verified)

VERIFIED FIXED
2.0 S4 (20june)
blocking-b2g 2.0+
Tracking Status
b2g-v2.0 --- verified
b2g-v2.1 --- verified

People

(Reporter: oteo, Assigned: gasolin)

References

Details

(Whiteboard: ft:loop [p=1])

Attachments

(3 files)

In bug 938467 was agreed that "Remember my choice" option should preselected by default.
Testing a Loop call with a two-camera and a one-camera device, the option to remember the decision is not selected.

See screenshots from a flame and a buri device
Attached image Flame.png
Attached image Buri_gUM.png
Blocks: 938467
Is the test app being used to test this here - https://github.com/mozilla-b2g/firefoxos-loop-client/blob/master/manifest.webapp?
Flags: needinfo?(oteo)
(In reply to Jason Smith [:jsmith] from comment #4)
> Is the test app being used to test this here -
> https://github.com/mozilla-b2g/firefoxos-loop-client/blob/master/manifest.
> webapp?

You could give a try with the app at [1]. Please, as it is still under development let me know if you hit any issue while testing with the app.

[1] https://github.com/jaoo/firefoxos-loop-client/commits/demo-bug-1023238
Jason, to reproduce the bug you need to install the Loop application provided by Jose Antonio with the Application manager (as a privileged application)
Flags: needinfo?(oteo)
looks like we did not take the right condition criteria for app
https://github.com/gasolin/gaia/blob/master/apps/system/js/permission_manager.js#L274
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
test included
Attachment #8438117 - Flags: review?(alive)
Wrong behavior in a privileged app - we need to block on this.
blocking-b2g: --- → 2.0?
Whiteboard: ft:loop
Attachment #8438117 - Flags: review?(alive) → review+
merged to gaia-master https://github.com/mozilla-b2g/gaia/commit/14721fa57d9994ed560db32a15b4fa3191d84a9d

thanks!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: ft:loop → ft:loop [p=1]
Target Milestone: --- → 2.0 S4 (20june)
Nominate it to 2.0+ since this is also the 2.0 blocker for webRTC client.
blocking-b2g: 2.0? → 2.0+
Flags: needinfo?(gasolin)
Clean ni? to Fred because I meant to nominate the bug to 2.0+ only.
Flags: needinfo?(gasolin)
Verified the issue is fixed on 2.1 and 2.0 Flame

"Remember my choice" is the default option pre-selected in GUM permission

"Flame 2.1 

Device: Flame 2.1 (319mb)(Kitkat Base)(Shallow Flash)
BuildID: 20141120001207
Gaia: f8d3bf44029e0afc0124600a4bb34dba8fc1ad21
Gecko: f70a67a7f846
Version: 34.0 (2.1)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0"

"Flame 2.0

Device: Flame 2.0 (319mb)(Kitkat Base)(Shallow Flash)
BuildID: 20141120000206
Gaia: 1ede2666f1e6c1b3fd3b282011caf0cbc59544b0
Gecko: 54f1b0ee07a6
Version: 32.0 (2.0)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0"
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: