[webkit-reviews] review denied: [Bug 35299] [Gtk] mousemove event always has metaKey == true : [Attachment 105450] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 28 14:32:15 PDT 2011


Martin Robinson <mrobinson at webkit.org> has denied Devdatta
<pwjd73 at motorola.com>'s request for review:
Bug 35299: [Gtk] mousemove event always has metaKey == true
https://bugs.webkit.org/show_bug.cgi?id=35299

Attachment 105450: Patch
https://bugs.webkit.org/attachment.cgi?id=105450&action=review

------- Additional Comments from Martin Robinson <mrobinson at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=105450&action=review


> Source/WebCore/ChangeLog:5
> +	   GDK_MOD2_MASK doesn't always mean meta so we can't use it to
identify
> +	   the meta key state. Use GDK_META_MASK instead.
> +	   https://bugs.webkit.org/show_bug.cgi?id=35299

The format here should be:

bug title
bug url

review line

description

> Source/WebCore/ChangeLog:12
> +	   Test: manual-tests/special-key-states-for-mouse-events.html
> +
> +	   * manual-tests/special-key-states-for-mouse-events.html: Added a
manual
> +	   test which shows the status of special keys for different mouse
events.

As long as you are updating EventSender, it makes sense to make an automated
test.

> Tools/ChangeLog:7
> +	   GDK_MOD2_MASK doesn't always mean meta so we can't use it to
identify
> +	   the meta key state. Use GDK_META_MASK instead.
> +	   https://bugs.webkit.org/show_bug.cgi?id=35299
> +
> +	   Reviewed by NOBODY (OOPS!).

See above.

> Tools/DumpRenderTree/gtk/EventSender.cpp:278
> -    // Currently the metaKey as defined in
WebCore/platform/gtk/MouseEventGtk.cpp
> -    // is GDK_MOD2_MASK. This code must be kept in sync with that file.
>      else if (JSStringIsEqualToUTF8CString(string, "metaKey"))

Why remove this comment instead of updating it?


More information about the webkit-reviews mailing list