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

Issue 2637403012: Suppress ET_MOUSE_MOVE when the mouse hasn't moved on Windows. (Closed)

Created:
3 years, 11 months ago by dtapuska
Modified:
3 years, 10 months ago
Reviewers:
ananta, sadrul
CC:
chromium-reviews, jam, darin-cc_chromium.org, Navid Zolghadr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Suppress ET_MOUSE_MOVE when the mouse hasn't moved on Windows. There are a series of bugs around getting a mousemove after a click event. Windows seems to post these events to the system for all browsers but it appears that FireFox and Edge both disgard mouse move events in these cases. This introduces a side effect of when a mouse leaves a window via Alt-Tab and is re-entered we don't generate the mouseenter right away but that exact same bug occurs on Edge and FireFox as well. BUG=161464, 390326 Review-Url: https://codereview.chromium.org/2637403012 Cr-Commit-Position: refs/heads/master@{#446810} Committed: https://chromium.googlesource.com/chromium/src/+/a05a1702da44842fed11d76a18a1452c06421473

Patch Set 1 #

Patch Set 2 : Move to render_host_widget #

Total comments: 1

Patch Set 3 : Get rid of event filter #

Patch Set 4 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (16 generated)
dtapuska
ananta@ WDYT?
3 years, 11 months ago (2017-01-20 15:17:08 UTC) #3
dtapuska
ananta@ WDYT?
3 years, 11 months ago (2017-01-20 15:17:09 UTC) #4
dtapuska
On 2017/01/20 15:17:09, dtapuska wrote: > ananta@ WDYT? FWIW; here is Mozilla's similar code https://hg.mozilla.org/mozilla-central/file/1196bf3032e1/widget/windows/nsWindow.cpp#l4018
3 years, 11 months ago (2017-01-20 15:19:38 UTC) #5
ananta
Windows posts the WM_MOUSEMOVE message to allow applications a chance to set the cursor. If ...
3 years, 11 months ago (2017-01-20 22:12:50 UTC) #6
dtapuska
On 2017/01/20 22:12:50, ananta wrote: > Windows posts the WM_MOUSEMOVE message to allow applications a ...
3 years, 11 months ago (2017-01-20 22:17:58 UTC) #7
ananta
On 2017/01/20 22:17:58, dtapuska wrote: > On 2017/01/20 22:12:50, ananta wrote: > > Windows posts ...
3 years, 11 months ago (2017-01-20 22:45:05 UTC) #8
dtapuska
On 2017/01/20 22:45:05, ananta wrote: > On 2017/01/20 22:17:58, dtapuska wrote: > > On 2017/01/20 ...
3 years, 11 months ago (2017-01-23 20:43:57 UTC) #12
dtapuska
On 2017/01/23 20:43:57, dtapuska wrote: > On 2017/01/20 22:45:05, ananta wrote: > > On 2017/01/20 ...
3 years, 11 months ago (2017-01-24 21:41:24 UTC) #15
ananta
On 2017/01/24 21:41:24, dtapuska wrote: > On 2017/01/23 20:43:57, dtapuska wrote: > > On 2017/01/20 ...
3 years, 11 months ago (2017-01-24 23:58:15 UTC) #16
dtapuska
On 2017/01/24 23:58:15, ananta wrote: > On 2017/01/24 21:41:24, dtapuska wrote: > > On 2017/01/23 ...
3 years, 11 months ago (2017-01-26 18:51:50 UTC) #17
ananta
On 2017/01/26 18:51:50, dtapuska wrote: > On 2017/01/24 23:58:15, ananta wrote: > > On 2017/01/24 ...
3 years, 11 months ago (2017-01-26 19:54:45 UTC) #18
dtapuska
sadrul@ PTAL
3 years, 11 months ago (2017-01-26 20:59:09 UTC) #20
sadrul
https://codereview.chromium.org/2637403012/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2637403012/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode225 content/browser/renderer_host/render_widget_host_view_aura.cc:225: aura::Env::GetInstance()->AddPreTargetHandler(this); This should install the event-handler on the RWHVA's ...
3 years, 11 months ago (2017-01-27 00:22:03 UTC) #21
dtapuska
On 2017/01/27 00:22:03, sadrul wrote: > https://codereview.chromium.org/2637403012/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc > File content/browser/renderer_host/render_widget_host_view_aura.cc (right): > > https://codereview.chromium.org/2637403012/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode225 > ...
3 years, 10 months ago (2017-01-27 16:52:12 UTC) #24
sadrul
On 2017/01/27 16:52:12, dtapuska wrote: > On 2017/01/27 00:22:03, sadrul wrote: > > > https://codereview.chromium.org/2637403012/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc ...
3 years, 10 months ago (2017-01-27 21:15:06 UTC) #27
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/2637403012/60001
3 years, 10 months ago (2017-01-27 21:39:17 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 22:57:59 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a05a1702da44842fed11d76a18a1...

Powered by Google App Engine
This is Rietveld 408576698