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

Issue 113987: Linux: Fake a mouse move event when the render view gains focus and the mouse... (Closed)

Created:
11 years, 6 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Linux: Fake a mouse move event when the render view gains focus and the mouse is over it. On windows, when the render view regains focus it receives a mouse move event with the coordinates of the pointer. We don't on linux, so we have to fake this. Without this, webkit doesn't know where the pointer is, so can have a wrong cursor or other graphical glitches. TEST=bug is fixed BUG=12879 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17693

Patch Set 1 #

Total comments: 2

Patch Set 2 : make WebMouseEvent directly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_gtk.cc View 1 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Evan Stade
At first I figured this was the wrong approach, but I debugged on windows and ...
11 years, 6 months ago (2009-05-29 03:58:24 UTC) #1
Evan Martin
+dean, arbiter of purity http://codereview.chromium.org/113987/diff/1/2 File chrome/browser/renderer_host/render_widget_host_view_gtk.cc (right): http://codereview.chromium.org/113987/diff/1/2#newcode134 Line 134: host_view->GetRenderWidgetHost()->ForwardMouseEvent( Maybe it'd be ...
11 years, 6 months ago (2009-05-29 16:38:49 UTC) #2
tony
In win chrome, where does the mouse move event after esc is pressed come from? ...
11 years, 6 months ago (2009-05-29 17:35:45 UTC) #3
Evan Stade
I'm not too sure. The callstack is the same as the mouse events you get ...
11 years, 6 months ago (2009-05-29 18:06:58 UTC) #4
Evan Stade
http://codereview.chromium.org/113987/diff/1/2 File chrome/browser/renderer_host/render_widget_host_view_gtk.cc (right): http://codereview.chromium.org/113987/diff/1/2#newcode134 Line 134: host_view->GetRenderWidgetHost()->ForwardMouseEvent( On 2009/05/29 16:38:49, Evan Martin wrote: > ...
11 years, 6 months ago (2009-05-29 18:09:40 UTC) #5
Evan Stade
I noticed a similar issue on windows chrome (in the beta channel at least--I don't ...
11 years, 6 months ago (2009-06-01 07:44:09 UTC) #6
Evan Stade
ping (I found https://bugs.webkit.org/show_bug.cgi?id=17052 which covers the scroll wheel thing)
11 years, 6 months ago (2009-06-01 18:03:38 UTC) #7
Evan Martin
This still feels like a hack to me. Would you mind starting a thread on ...
11 years, 6 months ago (2009-06-01 18:06:46 UTC) #8
Evan Stade
well that thread was a bit of a flop
11 years, 6 months ago (2009-06-04 18:06:59 UTC) #9
Evan Martin
On 2009/06/04 18:06:59, Evan Stade wrote: > well that thread was a bit of a ...
11 years, 6 months ago (2009-06-04 18:10:30 UTC) #10
tony
I think it's ok to fake the event for now, but we should probably add ...
11 years, 6 months ago (2009-06-04 18:29:30 UTC) #11
Evan Martin
11 years, 6 months ago (2009-06-04 18:30:36 UTC) #12
Tony is right.  LGTM, but please file a bug

Powered by Google App Engine
This is Rietveld 408576698