WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
67100
REGRESSION (
r93614
): Safari Reader doesn’t repaint correctly when scrolling
https://bugs.webkit.org/show_bug.cgi?id=67100
Summary
REGRESSION (r93614): Safari Reader doesn’t repaint correctly when scrolling
mitz
Reported
2011-08-28 21:11:39 PDT
<
rdar://problem/10037421
> Two-finger scrolling in Safari Reader leads to situations where Reader’s scrollbar reaches the end of the track, but the content isn’t scrolled all the way through. Forcing a repaint (for example, by dragging to select text) reveals that the content has scrolled correctly, but just failed to repaint in its final position. To reproduce: 1. Two-finger scroll to the bottom of an article presented in Safari Reader. It’s best if you don’t use momentum scrolling, just drag all the way. 2. Notice how the bottom of the article is not scrolled all the way up (leaving a wide black margin) 3. Drag to select text, or start scrolling in the opposite direction, or force a repaint
Attachments
Possible reduction
(2.85 KB, text/html)
2011-12-26 22:59 PST
,
mitz
no flags
Details
Proposed fix: remove optimization that was wrongly kept.
(11.64 KB, patch)
2011-12-28 04:41 PST
,
Julien Chaffraix
no flags
Details
Formatted Diff
Diff
Updated fix: Same code change, converted the 2 tests to normal tests with SL baselines.
(77.58 KB, patch)
2012-01-09 05:47 PST
,
Julien Chaffraix
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Julien Chaffraix
Comment 1
2011-08-29 10:48:17 PDT
(In reply to
comment #0
)
> <
rdar://problem/10037421
> > > Two-finger scrolling in Safari Reader leads to situations where Reader’s scrollbar reaches the end of the track, but the content isn’t scrolled all the way through.
I can sometimes reproduce it using page-up / down for scrolling. Is there a way to look at the Reader JS code to reduce the problem?
Julien Chaffraix
Comment 2
2011-09-02 13:40:00 PDT
> I can sometimes reproduce it using page-up / down for scrolling. Is there a way to look at the Reader JS code to reduce the problem?
I did not find a way to get a reduction and I am now pretty sure the proprietary bits are needed to do that. If someone from Apple could get a reduction, I would happily look into fixing it. In the meantime I don't know if this bug could impact any real web-page.
mitz
Comment 3
2011-10-19 14:08:20 PDT
***
Bug 70402
has been marked as a duplicate of this bug. ***
Julien Chaffraix
Comment 4
2011-11-28 15:53:30 PST
FYI
bug 71550
solved some regressions related with
r93614
. Unfortunately it does not seem to have solved Safari Reader's regression.
mitz
Comment 5
2011-12-26 22:59:22 PST
Created
attachment 120568
[details]
Possible reduction Attaching a test case, derived from Reader, which regressed in
r67100
and is not fixed yet. Note that it fails whether accelerated compositing is enabled or not.
Julien Chaffraix
Comment 6
2011-12-28 02:31:04 PST
Thanks Mitz! I can reproduce the issue now, let me knock out this nasty regression.
Julien Chaffraix
Comment 7
2011-12-28 04:41:20 PST
Created
attachment 120651
[details]
Proposed fix: remove optimization that was wrongly kept.
WebKit Review Bot
Comment 8
2011-12-29 06:06:35 PST
Comment on
attachment 120651
[details]
Proposed fix: remove optimization that was wrongly kept. Clearing flags on attachment: 120651 Committed
r103798
: <
http://trac.webkit.org/changeset/103798
>
WebKit Review Bot
Comment 9
2011-12-29 06:06:42 PST
All reviewed patches have been landed. Closing bug.
mitz
Comment 10
2011-12-29 09:24:59 PST
Looks like the change was reverted in <
http://trac.webkit.org/r103800
>.
Julien Chaffraix
Comment 11
2012-01-09 05:21:24 PST
For the record, the small differences are very platform specific and I don't see a common denominator (apart that they are scrollbars related):
http://build.webkit.org/old-results/Chromium%20Win%20Release%20(Tests)/r103798%20(22347)/fast/layers/scroll-with-transform-layer-diffs.html
http://build.webkit.org/old-results/Chromium%20Mac%20Release%20(Tests)/r103798%20(11346)/fast/layers/scroll-with-transform-layer-diffs.html
The custom scrollbar theme would likely help but I don't think it's enabled everywhere yet so I will just convert the ref-tests to normal tests.
Julien Chaffraix
Comment 12
2012-01-09 05:47:00 PST
Created
attachment 121650
[details]
Updated fix: Same code change, converted the 2 tests to normal tests with SL baselines.
WebKit Review Bot
Comment 13
2012-01-10 07:49:03 PST
Comment on
attachment 121650
[details]
Updated fix: Same code change, converted the 2 tests to normal tests with SL baselines. Clearing flags on attachment: 121650 Committed
r104575
: <
http://trac.webkit.org/changeset/104575
>
WebKit Review Bot
Comment 14
2012-01-10 07:49:08 PST
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