Closed Bug 1006500 Opened 11 years ago Closed 11 years ago

Expose hit-target fluffing prefs as settings.

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S2 (23may)

People

(Reporter: janx, Assigned: janx)

References

Details

Attachments

(2 files, 2 obsolete files)

Bug 965293 needs to access the `ui.touch.radius.{top,left,bottom,right}mm` pref values in order to visually draw the hit-target fluffing area of a touch on a device screen. Thus these prefs should be linked to Firefox OS settings, but it's probably not useful to make these editable in the Settings app.
Assignee: nobody → janx
Status: NEW → ASSIGNED
Comment on attachment 8418422 [details] [diff] [review] Sort settings to observe. r=ochameau Sorry for the stupid patch, couldn't resist. No change apart from the better order.
Attachment #8418422 - Flags: review?(poirot.alex)
Comment on attachment 8418423 [details] [diff] [review] Expose hit-target fluffing prefs as settings. r=ochameau Needed to draw the hit-target fluffing area in bug 965293.
Attachment #8418423 - Flags: review?(poirot.alex)
Comment on attachment 8418422 [details] [diff] [review] Sort settings to observe. r=ochameau Review of attachment 8418422 [details] [diff] [review]: ----------------------------------------------------------------- Looks good but I'm not reviewer of this file. ::: b2g/chrome/content/settings.js @@ +603,5 @@ > // =================== Various simple mapping ====================== > let settingsToObserve = { > + 'app.update.interval': 86400, > + 'app.update.channel': { resetToPref: true }, > + 'app.update.url': { resetToPref: true }, channel < interval < url ;)
Attachment #8418422 - Flags: review?(poirot.alex)
Attachment #8418422 - Flags: review?(21)
Attachment #8418422 - Flags: feedback+
Attachment #8418423 - Flags: review?(poirot.alex)
Attachment #8418423 - Flags: review?(21)
Attachment #8418423 - Flags: feedback+
Comment on attachment 8418423 [details] [diff] [review] Expose hit-target fluffing prefs as settings. r=ochameau Review of attachment 8418423 [details] [diff] [review]: ----------------------------------------------------------------- ::: b2g/chrome/content/settings.js @@ +652,5 @@ > }, > + 'ui.touch.radius.leftmm': { resetToPref: true }, > + 'ui.touch.radius.topmm': { resetToPref: true }, > + 'ui.touch.radius.rightmm': { resetToPref: true }, > + 'ui.touch.radius.bottommm': { resetToPref: true }, nit: Let's expand the {}. (makes smaller diff and easier |blame| when you need to add/edit something.
Attachment #8418423 - Flags: review?(21) → review+
Attachment #8418422 - Attachment is obsolete: true
Attachment #8422393 - Flags: review+
Attachment #8418423 - Attachment is obsolete: true
Attachment #8422394 - Flags: review+
Rebased and nits addressed, thanks for the review! Cabin crew, doors to automatic and cross check, we're taking off.
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: