Closed Bug 815067 Opened 12 years ago Closed 12 years ago

[Settings] Keyboard vibration - default value

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P1)

ARM
Gonk (Firefox OS)

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
blocking-basecamp +

People

(Reporter: wachen, Assigned: Margaret)

References

Details

(Whiteboard: [TPE] Settings - Keyboard - 11/26/12)

Attachments

(1 file)

This is a MozTrap test run Bug. *Environment: Phone - Unagi Build: (2 different ones) https://releases.mozilla.com/b2g/ 2012-11-26 build & Master Gaia: 859fb6be47b5e644c6f24955071afe15b07b8192 Beta Gecko: 117123:cf5d5b6ddee8 *How to reproduce: 1. Go to "Settings" app 2. Go to "Keyboard" *Expected Result: "vibration" is selected. *Actual Result: "vibration" is not selected.
Whiteboard: [TPE] Settings - Keyboard - 11/26/12
Severity: normal → blocker
blocking-basecamp: --- → ?
Severity: blocker → major
blocking-basecamp: ? → +
Priority: -- → P1
Assignee: nobody → kaze
The default in settings.py is False: https://github.com/mozilla-b2g/gaia/blob/master/build/settings.py#L60 However, even when I changed that to True, I still saw that we're getting false as the value when we're setting the checkbox's value in presetPanel: https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/settings.js#L140 I checked that the correct value made its way into settings.json. Maybe we're having problems reading that? I noticed a similar issue when looking into bug 815066.
(In reply to Margaret Leibovic [:margaret] from comment #1) > However, even when I changed that to True, I still saw that we're getting > false as the value when we're setting the checkbox's value in presetPanel: > https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/settings. > js#L140 > > I checked that the correct value made its way into settings.json. Maybe > we're having problems reading that? I noticed a similar issue when looking > into bug 815066. I think this is because |make install-gaia| wasn't updating the settings value in the profile on my device. When I used a new profile, the value was true, as expected. Is there a way to update the default pref value such that it propagates to existing profiles?
Margaret, do you already have a patch? I'm happy to r+ and we can land this. (In reply to Margaret Leibovic [:margaret] from comment #2) > Is there a way to update the default pref value such that it propagates to > existing profiles? Nope. (Not without significant pain, anyway.) Doesn't block this though.
Assignee: kaze → margaret.leibovic
Attachment #687314 - Flags: review?(jones.chris.g)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I verified it in 20121212 build http://releases.mozilla.com/b2g/
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: