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

Issue 2342413002: exo: Send pointer location before button event (Closed)

Created:
4 years, 3 months ago by denniskempin
Modified:
4 years, 3 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Send pointer location before button event We are not guranteed a mouse motion event before receiving a button event, which can lead to clicks at the wrong location. This CL makes sure that button events will report any location and pointer changes before generating the button event. BUG=645576 Committed: https://crrev.com/89504256241c40140c4dcfea06c3a24bf5007d74 Cr-Commit-Position: refs/heads/master@{#419596}

Patch Set 1 #

Total comments: 1

Patch Set 2 : send pointer updates before event specific events #

Total comments: 1

Patch Set 3 : do not update location on events that do not contain location #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -36 lines) Patch
M components/exo/pointer.cc View 1 2 3 chunks +37 lines, -36 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
denniskempin
PTAL David! Checked with input folks, we are not guaranteed a motion event before button ...
4 years, 3 months ago (2016-09-16 16:58:55 UTC) #2
reveman
https://codereview.chromium.org/2342413002/diff/1/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2342413002/diff/1/components/exo/pointer.cc#newcode258 components/exo/pointer.cc:258: } I'm failing to see how this change makes ...
4 years, 3 months ago (2016-09-16 17:11:26 UTC) #3
reveman
lgtm + nit https://codereview.chromium.org/2342413002/diff/20001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2342413002/diff/20001/components/exo/pointer.cc#newcode205 components/exo/pointer.cc:205: delegate_->OnPointerFrame(); nit: can we delay this ...
4 years, 3 months ago (2016-09-16 17:36:30 UTC) #4
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/2342413002/20001
4 years, 3 months ago (2016-09-16 17:54:47 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/279747)
4 years, 3 months ago (2016-09-16 18:58:14 UTC) #8
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/2342413002/40001
4 years, 3 months ago (2016-09-19 22:20:28 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-19 22:43:47 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 22:45:08 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/89504256241c40140c4dcfea06c3a24bf5007d74
Cr-Commit-Position: refs/heads/master@{#419596}

Powered by Google App Engine
This is Rietveld 408576698