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)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S2 (23may)
People
(Reporter: janx, Assigned: janx)
References
Details
Attachments
(2 files, 2 obsolete files)
3.54 KB,
patch
|
janx
:
review+
|
Details | Diff | Splinter Review |
1.05 KB,
patch
|
janx
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Updated•11 years ago
|
Assignee: nobody → janx
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
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)
Assignee | ||
Comment 4•11 years ago
|
||
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 5•11 years ago
|
||
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+
Updated•11 years ago
|
Attachment #8418423 -
Flags: review?(poirot.alex)
Attachment #8418423 -
Flags: review?(21)
Attachment #8418423 -
Flags: feedback+
Attachment #8418422 -
Flags: review?(21) → review+
Comment 6•11 years ago
|
||
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+
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8418422 -
Attachment is obsolete: true
Attachment #8422393 -
Flags: review+
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8418423 -
Attachment is obsolete: true
Attachment #8422394 -
Flags: review+
Assignee | ||
Comment 9•11 years ago
|
||
Rebased and nits addressed, thanks for the review!
Cabin crew, doors to automatic and cross check, we're taking off.
Keywords: checkin-needed
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/22e8b2a218da
https://hg.mozilla.org/integration/b2g-inbound/rev/0961957fee8b
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/22e8b2a218da
https://hg.mozilla.org/mozilla-central/rev/0961957fee8b
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.
Description
•