RESOLVED FIXED 61422
Chromium: Fix overlay scrollbars issues
https://bugs.webkit.org/show_bug.cgi?id=61422
Summary Chromium: Fix overlay scrollbars issues
Sailesh Agrawal
Reported 2011-05-24 23:44:23 PDT
Chromium: Fix overlay scrollbars issues
Attachments
Patch (14.85 KB, patch)
2011-05-24 23:50 PDT, Sailesh Agrawal
dglazkov: review+
Sailesh Agrawal
Comment 1 2011-05-24 23:50:08 PDT
Nico Weber
Comment 2 2011-05-25 07:49:49 PDT
Changes LGTM. Please be a bit more specific in the first paragraphs of the changelog. You mention all changes in the file list, but it's nice to have the important bit at the top ("Fixed a couple issues: * Use runtime checks instead of compile time checks * If smooth scrolling isn't active, tell the system to not use it * use new knob api") Speaking of the smooth scrolling change: If it fixes the paint artifacts, it's ok for now, but in general we want to use system-provided smooth scrolling on mac. the SMOOTH_SCROLLING define toggles logic _in webcore_ that controls smooth scrolling, for platforms that don't have this natively (e.g. chromium/windows). We never want that on mac.
Sailesh Agrawal
Comment 3 2011-05-25 07:55:50 PDT
> the SMOOTH_SCROLLING define toggles logic _in webcore_ that controls smooth scrolling, for platforms that don't have this natively (e.g. chromium/windows). We never want that on mac. Sorry, I didn't really understand this. You mean that we want ENABLE(SMOOTH_SCROLLING) always to be false, right? Before my addition of ScrollAnimatorChromiumMac we used ScrollAnimator::scroll() for scroll events. With this change we go back to using that. That's correct right? This change doesn't fix repaint artifacts for me. It just disables smooth scrolling (back to the way it was before my change). Thanks
Nico Weber
Comment 4 2011-05-25 08:28:57 PDT
> Before my addition of ScrollAnimatorChromiumMac we used ScrollAnimator::scroll() for scroll events. With this change we go back to using that. > > That's correct right? Ah, yes.
Dimitri Glazkov (Google)
Comment 5 2011-05-25 16:05:19 PDT
You may want to rebase this patch. If EWSes didn't like it, I am pretty sure cq won't be able to land it.
Dimitri Glazkov (Google)
Comment 6 2011-05-25 16:13:33 PDT
Comment on attachment 94746 [details] Patch k
Sailesh Agrawal
Comment 7 2011-06-09 10:17:20 PDT
This change got rolled into http://trac.webkit.org/changeset/88396
Note You need to log in before you can comment on or make changes to this bug.