WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
62383
[Chromium] Overlay scrollbars leave glitches on web content
https://bugs.webkit.org/show_bug.cgi?id=62383
Summary
[Chromium] Overlay scrollbars leave glitches on web content
Sailesh Agrawal
Reported
2011-06-09 10:22:48 PDT
Scrolling a page with overlay scrollbars leaves trailing artifacts on web content. This needs to be fixed before overlay scrollbars are enabled.
Attachments
Patch
(3.54 KB, patch)
2011-06-14 17:30 PDT
,
Sailesh Agrawal
no flags
Details
Formatted Diff
Diff
Patch
(5.58 KB, patch)
2011-06-14 18:29 PDT
,
Sailesh Agrawal
no flags
Details
Formatted Diff
Diff
Patch
(3.30 KB, patch)
2011-06-15 15:13 PDT
,
Sailesh Agrawal
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Sailesh Agrawal
Comment 1
2011-06-14 17:30:07 PDT
Created
attachment 97201
[details]
Patch
Sailesh Agrawal
Comment 2
2011-06-14 17:30:57 PDT
This doesn't fix the root cause, any suggestions appreciated.
Sailesh Agrawal
Comment 3
2011-06-14 18:29:52 PDT
Created
attachment 97213
[details]
Patch
Nico Weber
Comment 4
2011-06-14 18:35:41 PDT
Comment on
attachment 97213
[details]
Patch don't set r? on work-in-progress patches
James Robinson
Comment 5
2011-06-14 18:38:36 PDT
Comment on
attachment 97213
[details]
Patch How does the PLATFORM(MAC) port handle this in the non-composited case? Whatever the answer is here it does not belong in ScrollView.cpp
Sailesh Agrawal
Comment 6
2011-06-14 20:02:30 PDT
(In reply to
comment #5
)
> (From update of
attachment 97213
[details]
) > How does the PLATFORM(MAC) port handle this in the non-composited case?
I think that on PLATFORM(MAC) this is handled by the native host scroll view. Our RenderWidget just blindly copies the scrollrect even for overlay scrollbars.
> Whatever the answer is here it does not belong in ScrollView.cpp
What do you think of fixing this in RenderWidget. This would be a little more complicated because I'd have to pipe more information about scrollbars to RenderWidget.
Nico Weber
Comment 7
2011-06-14 20:06:54 PDT
sail: What was the file where you removed the ?: earlier today? Did that help?
Sailesh Agrawal
Comment 8
2011-06-14 20:27:05 PDT
(In reply to
comment #7
)
> sail: What was the file where you removed the ?: earlier today? Did that help?
That was in ScrollView.cpp ScrollView::rectToCopyOnScroll(). Changing it didn't help.
James Robinson
Comment 9
2011-06-14 20:44:17 PDT
The mac port doesn't use platform widgets for scrolling in WebKit2
Sailesh Agrawal
Comment 10
2011-06-14 20:47:46 PDT
(In reply to
comment #9
)
> The mac port doesn't use platform widgets for scrolling in WebKit2
Hm... how can I tell if I'm running Safar in composited or non-composited mode? Maybe they have this bug too.
Sailesh Agrawal
Comment 11
2011-06-15 15:13:25 PDT
Created
attachment 97369
[details]
Patch
Sailesh Agrawal
Comment 12
2011-06-15 15:14:39 PDT
(In reply to
comment #9
)
> The mac port doesn't use platform widgets for scrolling in WebKit2
K, I think I got it. WebChromeClient::scroll() intersects the scroll rect with the clip rect. This excludes the scrollbars when overlay scrollbars are enabled. I'm running try bots now.
Sailesh Agrawal
Comment 13
2011-06-15 17:25:49 PDT
Try bot results look good.
http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/32264
http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/32445
http://build.chromium.org/p/tryserver.chromium/builders/win/builds/37228
James Robinson
Comment 14
2011-06-15 17:41:50 PDT
What about the layout tests trybots? (mac_layout, win_layout, linux_layout and the same with _rel for release).
Sailesh Agrawal
Comment 15
2011-06-15 17:45:23 PDT
(In reply to
comment #14
)
> What about the layout tests trybots? (mac_layout, win_layout, linux_layout and the same with _rel for release).
Damn, forgot. Layout try bots pending.
Sailesh Agrawal
Comment 16
2011-06-15 20:19:33 PDT
Hm.. a couple of webkit_gpu_tests failed. Not sure if it's my fault. I'm sending out a new layout try bot test with an empty change to check.
http://build.chromium.org/p/tryserver.chromium/builders/mac_layout/builds/667
http://build.chromium.org/p/tryserver.chromium/builders/mac_layout_rel/builds/205
http://build.chromium.org/p/tryserver.chromium/builders/win_layout/builds/948
http://build.chromium.org/p/tryserver.chromium/builders/win_layout_rel/builds/289
http://build.chromium.org/p/tryserver.chromium/builders/linux_layout/builds/794
http://build.chromium.org/p/tryserver.chromium/builders/linux_layout_rel/builds/270
Sailesh Agrawal
Comment 17
2011-06-15 22:08:22 PDT
Yay, an empty change has the same failures:
http://build.chromium.org/p/tryserver.chromium/builders/mac_layout_rel/builds/207
Mihai Parparita
Comment 18
2011-06-16 13:24:09 PDT
Comment on
attachment 97369
[details]
Patch Rubber-stamping since James is out.
WebKit Review Bot
Comment 19
2011-06-16 14:18:49 PDT
Comment on
attachment 97369
[details]
Patch Clearing flags on attachment: 97369 Committed
r89065
: <
http://trac.webkit.org/changeset/89065
>
WebKit Review Bot
Comment 20
2011-06-16 14:18:54 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.
Top of Page
Format For Printing
XML
Clone This Bug