RESOLVED FIXED 233583
Plumb raw platform scrolling deltas along in wheel events
https://bugs.webkit.org/show_bug.cgi?id=233583
Summary Plumb raw platform scrolling deltas along in wheel events
Tim Horton
Reported 2021-11-29 11:58:54 PST
Plumb raw platform scrolling deltas along in wheel events
Attachments
Patch (13.37 KB, patch)
2021-11-29 12:01 PST, Tim Horton
ews-feeder: commit-queue-
Patch (14.17 KB, patch)
2021-11-29 13:47 PST, Tim Horton
ews-feeder: commit-queue-
Patch (14.42 KB, patch)
2021-11-29 14:31 PST, Tim Horton
no flags
Patch (14.33 KB, patch)
2021-11-29 14:32 PST, Tim Horton
no flags
Tim Horton
Comment 1 2021-11-29 12:01:03 PST
Simon Fraser (smfr)
Comment 2 2021-11-29 12:03:38 PST
Comment on attachment 445319 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445319&action=review > Source/WebKit/Shared/mac/WebEventFactory.mm:436 > + return { WebCore::FloatSize(-IOHIDEventGetFloatValue(ioHIDEvent.get(), kIOHIDEventFieldScrollX), -IOHIDEventGetFloatValue(ioHIDEvent.get(), kIOHIDEventFieldScrollY)) }; Does the negation here mean that m_rawPlatformDelta has the same sign as scrollingDelta?
Tim Horton
Comment 3 2021-11-29 12:16:27 PST
(In reply to Simon Fraser (smfr) from comment #2) > Comment on attachment 445319 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=445319&action=review > > > Source/WebKit/Shared/mac/WebEventFactory.mm:436 > > + return { WebCore::FloatSize(-IOHIDEventGetFloatValue(ioHIDEvent.get(), kIOHIDEventFieldScrollX), -IOHIDEventGetFloatValue(ioHIDEvent.get(), kIOHIDEventFieldScrollY)) }; > > Does the negation here mean that m_rawPlatformDelta has the same sign as > scrollingDelta? That was the idea, but let me double check that I got that right, so many things are in opposing signs :)
Tim Horton
Comment 4 2021-11-29 13:47:23 PST
Tim Horton
Comment 5 2021-11-29 14:31:52 PST
Tim Horton
Comment 6 2021-11-29 14:32:43 PST
Tim Horton
Comment 7 2021-11-29 15:27:59 PST
(In reply to Tim Horton from comment #3) > (In reply to Simon Fraser (smfr) from comment #2) > > Comment on attachment 445319 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=445319&action=review > > > > > Source/WebKit/Shared/mac/WebEventFactory.mm:436 > > > + return { WebCore::FloatSize(-IOHIDEventGetFloatValue(ioHIDEvent.get(), kIOHIDEventFieldScrollX), -IOHIDEventGetFloatValue(ioHIDEvent.get(), kIOHIDEventFieldScrollY)) }; > > > > Does the negation here mean that m_rawPlatformDelta has the same sign as > > scrollingDelta? > > That was the idea, but let me double check that I got that right, so many > things are in opposing signs :) yes, that is the outcome
EWS
Comment 8 2021-11-29 15:58:40 PST
Committed r286270 (244631@main): <https://commits.webkit.org/244631@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445347 [details].
Radar WebKit Bug Importer
Comment 9 2021-11-29 15:59:24 PST
Tim Horton
Comment 10 2021-11-29 18:56:30 PST
Note You need to log in before you can comment on or make changes to this bug.