Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Issue 2864563002: MD Settings: Fix dragging slider bugging out the Enter key. (Closed)

Created:
3 years, 7 months ago by scottchen
Modified:
3 years, 6 months ago
Reviewers:
dschuyler, Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Fix dragging slider bugging out the Enter key. There's a bug in the Polymer gesture code that prevents "keydown" to be recognized after the "track" (unless "mousedown" happens and resets the prevention state). Manually calling Gesture's reset function will fix the issue. This should be considered a temporary fix until Polymer fixes the gesture code. BUG=706709 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2864563002 Cr-Commit-Position: refs/heads/master@{#476151} Committed: https://chromium.googlesource.com/chromium/src/+/ea73b1f7ddc1a243ad5886a2aa909f91eb492974

Patch Set 1 #

Patch Set 2 : also fix this for settings-toggle-button #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M chrome/browser/resources/settings/controls/settings_slider.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_slider.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_toggle_button.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_toggle_button.js View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
scottchen
There's a bug in the Polymer gesture code that prevents "keydown" to be recognized after ...
3 years, 7 months ago (2017-05-04 23:04:06 UTC) #3
scottchen
+dbeam@ since we were talking about this offline
3 years, 7 months ago (2017-05-04 23:16:36 UTC) #6
Dan Beam
does it make sense to let the event loop turn or something before resetting? i.e. ...
3 years, 7 months ago (2017-05-04 23:36:23 UTC) #7
scottchen
On 2017/05/04 23:36:23, Dan Beam wrote: > does it make sense to let the event ...
3 years, 7 months ago (2017-05-04 23:48:10 UTC) #8
Dan Beam
lgtm
3 years, 7 months ago (2017-05-05 00:02:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2864563002/20001
3 years, 7 months ago (2017-05-05 00:07:36 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/8357)
3 years, 7 months ago (2017-05-05 00:27:09 UTC) #13
dschuyler
rs lgtm
3 years, 7 months ago (2017-05-05 18:17:19 UTC) #14
scottchen
On 2017/05/05 18:17:19, dschuyler wrote: > rs lgtm Just FYI, currently working with dpapad@ to ...
3 years, 7 months ago (2017-05-23 21:10:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2864563002/20001
3 years, 6 months ago (2017-06-01 00:23:04 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 02:07:15 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ea73b1f7ddc1a243ad5886a2aa90...

Powered by Google App Engine
This is Rietveld 408576698