Bug 117232

Summary: [Threaded Compositor] Apply scroll-offset and scale in Widget window coordinate.
Product: WebKit Reporter: Gwang Yoon Hwang <yoon>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: cgarcia, changseok, jaepark, mrobinson, noam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Gwang Yoon Hwang
Reported 2013-06-05 00:55:32 PDT
We need to apply scrolling and scaling to mouse event when we are in delegatedScrolling. To do that, scroll-offset should be cached in WebPageProxy, because mouse event should be transformed at its creation time. No new tests, covered by existing tests.
Attachments
Patch (4.14 KB, patch)
2013-07-04 05:07 PDT, Gwang Yoon Hwang
no flags
Gwang Yoon Hwang
Comment 1 2013-07-04 05:07:02 PDT
Michael Catanzaro
Comment 2 2016-01-02 08:46:53 PST
Comment on attachment 206080 [details] Patch Is this patch still needed? I'm going to remove the r? since I presume it's obsolete; please reset it if it's still needed.
Michael Catanzaro
Comment 3 2016-01-02 08:56:02 PST
Comment on attachment 206080 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206080&action=review Nevermind, you can just close the bug if it's obsolete. > Source/WebCore/platform/Widget.cpp:145 > +IntRect Widget::convertFromRootToContainingWindow(const Widget* widget, const IntRect& rect) These functions ought to take a const Widget& rather than a const Widget*, since it will crash if widget is ever null. (That should be changed in a follow-up patch.) > Source/WebCore/platform/Widget.cpp:148 > + const ScrollView* scrollView = widget->root(); scrollView can never be null here?
Carlos Garcia Campos
Comment 4 2016-06-14 04:01:12 PDT
Comment on attachment 206080 [details] Patch Clearing flags, we need an explanation of what is broken and what this fixes. Widget doesn't looke like the right place for this to me, but I don't really understand the change.
Note You need to log in before you can comment on or make changes to this bug.