WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112505
[wk2] Should support multiple page overlays, like the API suggests
https://bugs.webkit.org/show_bug.cgi?id=112505
Summary
[wk2] Should support multiple page overlays, like the API suggests
Tim Horton
Reported
2013-03-16 15:00:02 PDT
WebKit2 allows the injected bundle to install page overlays, and also installs some itself. The API is structured in such a way that it makes sense to be able to install multiple page overlays, but that isn't currently supported by WebPage/DrawingArea/etc. You can also get yourself in a sticky situation with the find-in-page overlay and the inspector overlay, by using find-in-page and then invoking the inspector and making the inspector overlay appear. With TiledCoreAnimationDrawingArea, the find-in-page overlay becomes a zombie. <
rdar://problem/13424796
>
Attachments
preliminary patch to see how bad the damage is on other platforms
(33.64 KB, patch)
2013-03-16 15:01 PDT
,
Tim Horton
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
futzing with coordinatedgraphics
(37.02 KB, patch)
2013-03-16 19:55 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
patch
(44.84 KB, patch)
2013-03-16 21:35 PDT
,
Tim Horton
simon.fraser
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Layout Test Results
(222.01 KB, application/zip)
2013-03-19 01:56 PDT
,
Ryosuke Niwa
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2013-03-16 15:01:17 PDT
Created
attachment 193447
[details]
preliminary patch to see how bad the damage is on other platforms
Early Warning System Bot
Comment 2
2013-03-16 15:08:02 PDT
Comment on
attachment 193447
[details]
preliminary patch to see how bad the damage is on other platforms
Attachment 193447
[details]
did not pass qt-wk2-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17125376
EFL EWS Bot
Comment 3
2013-03-16 15:08:17 PDT
Comment on
attachment 193447
[details]
preliminary patch to see how bad the damage is on other platforms
Attachment 193447
[details]
did not pass efl-ews (efl): Output:
http://webkit-commit-queue.appspot.com/results/17233105
Tim Horton
Comment 4
2013-03-16 19:55:22 PDT
Created
attachment 193453
[details]
futzing with coordinatedgraphics
Tim Horton
Comment 5
2013-03-16 19:58:04 PDT
I'm not going to implement it for EFL/Qt but I'll at least keep it building and behaving close to how it currently does.
Tim Horton
Comment 6
2013-03-16 21:35:16 PDT
Created
attachment 193457
[details]
patch
Simon Fraser (smfr)
Comment 7
2013-03-16 22:34:05 PDT
Comment on
attachment 193457
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=193457&action=review
> Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp:732 > + Vector<RefPtr<PageOverlay> >& pageOverlays = m_webPage->pageOverlays(); > + Vector<RefPtr<PageOverlay> >::iterator end = pageOverlays.end(); > + for (Vector<RefPtr<PageOverlay> >::iterator it = pageOverlays.begin(); it != end; ++it)
A typedef for Vector<RefPtr<PageOverlay> > would clean this up.
> Source/WebKit2/WebProcess/WebPage/mac/LayerTreeHostMac.h:96 > + PageOverlayLayerMap m_pageOverlays;
I think m_pageOverlays would be better called m_pageOverlayLayers
Noam Rosenthal
Comment 8
2013-03-17 01:12:53 PDT
(In reply to
comment #5
)
> I'm not going to implement it for EFL/Qt but I'll at least keep it building and behaving close to how it currently does.
Thank you for that Tim.
Build Bot
Comment 9
2013-03-17 05:29:42 PDT
Comment on
attachment 193457
[details]
patch
Attachment 193457
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-commit-queue.appspot.com/results/16996443
New failing tests: editing/selection/anchor-focus1.html editing/selection/4895428-2.html editing/pasteboard/4944770-2.html editing/selection/5195166-1.html editing/selection/block-with-positioned-lastchild.html editing/execCommand/findString-2.html editing/selection/caret-ltr-right.html editing/selection/caret-at-bidi-boundary.html editing/selection/5131716-1.html editing/selection/5209984.html editing/selection/5131716-3.html editing/selection/5057506-2.html editing/selection/4895428-3.html editing/selection/5131716-2.html css3/viewport-percentage-lengths/vh-resize.html editing/selection/caret-ltr-2-left.html editing/selection/6476.html editing/deleting/smart-delete-004.html editing/deleting/smart-delete-across-editable-boundaries-2.html editing/selection/5131716-4.html compositing/iframes/layout-on-compositing-change.html canvas/philip/tests/2d.text.draw.fontface.notinpage.html editing/selection/caret-bidi-first-and-last-letters.html editing/deleting/smart-delete-002.html editing/selection/caret-ltr.html editing/selection/caret-ltr-2.html editing/undo/undo-smart-delete-word.html editing/deleting/smart-delete-003.html editing/deleting/smart-delete-001.html editing/selection/after-line-break.html
Tim Horton
Comment 10
2013-03-18 23:49:36 PDT
http://trac.webkit.org/changeset/146183
Ryosuke Niwa
Comment 11
2013-03-19 01:41:31 PDT
It seems like this patch broke multiple editing tests :(
WebKit Review Bot
Comment 12
2013-03-19 01:55:58 PDT
Re-opened since this is blocked by
bug 112673
Ryosuke Niwa
Comment 13
2013-03-19 01:56:23 PDT
Created
attachment 193762
[details]
Layout Test Results Here's a local output of Tools/Scripts/run-webkit-tests --debug LayoutTests/editing/ -2.
Ryosuke Niwa
Comment 14
2013-03-19 01:57:31 PDT
I'm sorry but we need to roll out this patch. It's causing buildbot and EWS bots to clog: e.g.
http://build.webkit.org/builders/Apple%20MountainLion%20Release%20WK2%20%28Tests%29/builds/7053
has been running for well over an hour and hasn't finished running yet.
Tim Horton
Comment 15
2013-03-19 02:15:56 PDT
(In reply to
comment #14
)
> I'm sorry but we need to roll out this patch. It's causing buildbot and EWS bots to clog: > e.g. >
http://build.webkit.org/builders/Apple%20MountainLion%20Release%20WK2%20%28Tests%29/builds/7053
> has been running for well over an hour and hasn't finished running yet.
Hmm, interesting. Thanks for rolling out! I have no idea whatsoever how that could be the case, but I'll take a look.
Tim Horton
Comment 16
2013-03-19 02:30:03 PDT
(In reply to
comment #15
)
> (In reply to
comment #14
) > > I'm sorry but we need to roll out this patch. It's causing buildbot and EWS bots to clog: > > e.g. > >
http://build.webkit.org/builders/Apple%20MountainLion%20Release%20WK2%20%28Tests%29/builds/7053
> > has been running for well over an hour and hasn't finished running yet. > > Hmm, interesting. Thanks for rolling out! I have no idea whatsoever how that could be the case, but I'll take a look.
Rolled back in with a single-line change to initialize the 'handled' argument in mouseEventSyncForTesting, in
http://trac.webkit.org/changeset/146193
.
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