RESOLVED FIXED Bug 131663
[EFL][WK2] Pass Mouse movement data to WebMouseEvent
https://bugs.webkit.org/show_bug.cgi?id=131663
Summary [EFL][WK2] Pass Mouse movement data to WebMouseEvent
Jinwoo Song
Reported 2014-04-14 22:25:20 PDT
Currently mouse movement data are not passed to WebMouseEvent. Instead, they are set to 0 as default. EFL port needs to send the deltaX and deltaY for PointerLock API which will be implemented later.
Attachments
Patch (1.68 KB, patch)
2014-04-14 22:27 PDT, Jinwoo Song
no flags
Patch (1.70 KB, patch)
2014-04-14 22:30 PDT, Jinwoo Song
no flags
Jinwoo Song
Comment 1 2014-04-14 22:27:03 PDT
WebKit Commit Bot
Comment 2 2014-04-14 22:28:53 PDT
Attachment 229347 [details] did not pass style-queue: ERROR: Source/WebKit2/ChangeLog:8: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebKit2/ChangeLog:9: Line contains tab character. [whitespace/tab] [5] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jinwoo Song
Comment 3 2014-04-14 22:30:59 PDT
Gyuyoung Kim
Comment 4 2014-04-14 23:07:38 PDT
Comment on attachment 229348 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=229348&action=review > Source/WebKit2/Shared/efl/WebEventFactory.cpp:138 > + (event->cur.canvas.x - event->prev.canvas.x) /* deltaX */, There are three createWebMouseEvent there. Don't you need to change all those functions together ?
Gyuyoung Kim
Comment 5 2014-04-14 23:08:09 PDT
CC'ing Eunmi
Jinwoo Song
Comment 6 2014-04-15 02:22:26 PDT
Comment on attachment 229348 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=229348&action=review >> Source/WebKit2/Shared/efl/WebEventFactory.cpp:138 >> + (event->cur.canvas.x - event->prev.canvas.x) /* deltaX */, > > There are three createWebMouseEvent there. Don't you need to change all those functions together ? In case of Evas_Event_Mouse_Down and Evas_Event_Mouse_Up, there is no movement data so we can set the delta values as 0.
Gyuyoung Kim
Comment 7 2014-04-15 03:14:26 PDT
Comment on attachment 229348 [details] Patch Thank you for reply. LGTM.
WebKit Commit Bot
Comment 8 2014-04-15 06:01:30 PDT
Comment on attachment 229348 [details] Patch Clearing flags on attachment: 229348 Committed r167305: <http://trac.webkit.org/changeset/167305>
WebKit Commit Bot
Comment 9 2014-04-15 06:01:40 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.