[Webkit-unassigned] [Bug 35299] [Gtk] mousemove event always has metaKey == true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 00:21:15 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=35299





--- Comment #5 from Devdatta <pwjd73 at motorola.com>  2011-09-19 00:21:15 PST ---
(In reply to comment #3)
> (From update of attachment 105450 [details])
> 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
> 
Modified the change log as per review comments.

> > 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.
> 
The metaKey attribute in EventSender was not in sync with the mouse and keyboard events from WebCore. I have added a different bug for this <https://bugs.webkit.org/show_bug.cgi?id=68324>.

Also, none of the ports uses modifier keys for mouse move in EventSender, hence a manual test case is added to test modifier keys for mouse move event.

> > 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?
Updated the comment in the patch for Bug 68324.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list