WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101549
[EFL][WK2][AC] Fixed layers are shaking when scrolling
https://bugs.webkit.org/show_bug.cgi?id=101549
Summary
[EFL][WK2][AC] Fixed layers are shaking when scrolling
Hurnjoo Lee
Reported
2012-11-07 23:18:57 PST
At the time of adjusting positions for fixed layers, the locations of fixed layers are calculated incorrectly because the contentsSize is empty.
Attachments
proposed patch
(1.71 KB, patch)
2012-11-07 23:25 PST
,
Hurnjoo Lee
no flags
Details
Formatted Diff
Diff
test case
(279 bytes, text/html)
2012-11-08 20:58 PST
,
Hurnjoo Lee
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Hurnjoo Lee
Comment 1
2012-11-07 23:25:47 PST
Created
attachment 172936
[details]
proposed patch
WebKit Review Bot
Comment 2
2012-11-08 06:03:26 PST
Comment on
attachment 172936
[details]
proposed patch Rejecting
attachment 172936
[details]
from commit-queue. New failing tests: fast/repaint/selection-after-delete.html Full output:
http://queues.webkit.org/results/14771173
Yael
Comment 3
2012-11-08 06:46:16 PST
Comment on
attachment 172936
[details]
proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=172936&action=review
> Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp:83 > + drawingArea()->layerTreeCoordinatorProxy()->setContentsSize(contentsSize);
Isn't PageViewportController already setting the contentsSize? Per
https://bugs.webkit.org/show_bug.cgi?id=99850#c7
the viewport client should not be calling this explicitly.
Yael
Comment 4
2012-11-08 13:16:09 PST
(In reply to
comment #0
)
> At the time of adjusting positions for fixed layers, the locations of > fixed layers are calculated incorrectly because the contentsSize is empty.
Do you have a test case for this? I'd like to take a look at this. Thanks.
Hurnjoo Lee
Comment 5
2012-11-08 20:44:12 PST
(In reply to
comment #3
)
> (From update of
attachment 172936
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=172936&action=review
> > > Source/WebKit2/UIProcess/efl/PageViewportControllerClientEfl.cpp:83 > > + drawingArea()->layerTreeCoordinatorProxy()->setContentsSize(contentsSize); > > Isn't PageViewportController already setting the contentsSize? > Per
https://bugs.webkit.org/show_bug.cgi?id=99850#c7
the viewport client should not be calling this explicitly.
Yes, PageViewportController is setting its own the contentSize already but LayerTreeRenderer's contentsSize is never set. In Qt port, set LayerTreeRenderer's contentsSize at PageViewportControllerClientQt::didChangeContentsSize.
Hurnjoo Lee
Comment 6
2012-11-08 20:58:26 PST
Created
attachment 173190
[details]
test case
Hurnjoo Lee
Comment 7
2012-11-08 21:02:14 PST
(In reply to
comment #4
)
> (In reply to
comment #0
) > > At the time of adjusting positions for fixed layers, the locations of > > fixed layers are calculated incorrectly because the contentsSize is empty. > > Do you have a test case for this? I'd like to take a look at this. > Thanks.
I've attached test case. Also you can test on sites.
http://jquerymobile.com/demos/1.1.0/docs/toolbars/bars-fixed.html
http://www.noobcube.com/wp-content/uploads/demos/062709-fixed-header-footer/demo/
Yael
Comment 8
2012-11-09 11:30:38 PST
Comment on
attachment 172936
[details]
proposed patch Sorry it took me so long to get to this. You are right, in the Qt port the same call is being made indirectly. I'll try to cq the patch because the ews error did not seem related to your change.
WebKit Review Bot
Comment 9
2012-11-09 12:30:38 PST
Comment on
attachment 172936
[details]
proposed patch Clearing flags on attachment: 172936 Committed
r134098
: <
http://trac.webkit.org/changeset/134098
>
WebKit Review Bot
Comment 10
2012-11-09 12:30:42 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