WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
149761
Event queue for WebView on El Capitan with WebKit 601.1.56 breaks with GPU rendering
https://bugs.webkit.org/show_bug.cgi?id=149761
Summary
Event queue for WebView on El Capitan with WebKit 601.1.56 breaks with GPU re...
Omar Kilani
Reported
2015-10-02 13:50:02 PDT
Hey WebKit team, We're seeing a weird issue (seems related to El Capitan?) where if we force GPU rendering of a layer with '-webkit-transform: translateZ(0)' anywhere on a page, the page stops all events (no hover events, no timer events, etc) until we move the mouse or after a couple of second delay. Safari 9 is unaffected, but WebView embedded into our own wrapper app breaks. If we remove the '-webkit-transform' everything works as expected, but the bugs we're working around using '-webkit-transform' come back (weird issues with Apple's WebKit + requestAnimationFrame and our web app). WebView under Yosemite wasn't affected. I don't know if there's some BOOL that needs to be set to make this work, or if I've missed some power saving thing in El Capitan that stops delivering events to our app. I'm not sure how to repro this except by providing the app itself, so please let me know if that would be helpful (it's just a wrapper around a web app using MacGap2). Thanks! Omar
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2015-10-02 19:38:19 PDT
Yes, please do provide a reproducible test case.
Simon Fraser (smfr)
Comment 2
2015-10-02 20:32:29 PDT
If you want to provide the app in a private forum, please file a bug at bugreport.apple.com and attach it.
Omar Kilani
Comment 3
2015-10-02 22:03:48 PDT
I've filed a radar:
rdar://22961195
With the source code and a screencast attached. Hope that helps... Please let me know if you need anything else.
Omar Kilani
Comment 4
2015-10-06 20:03:18 PDT
FWIW, we were able to work around this by using WKWebView instead of WebView on 10.11.
Simon Fraser (smfr)
Comment 5
2015-10-06 20:11:48 PDT
I took a look, and the title is a bit misleading. It's actually just failing to repaint a layer after content changes, specifically the background color transitions on the rows. I'm not sure why that happens yet.
Omar Kilani
Comment 6
2015-10-12 19:48:46 PDT
(In reply to
comment #5
)
> I took a look, and the title is a bit misleading. It's actually just failing > to repaint a layer after content changes, specifically the background color > transitions on the rows. I'm not sure why that happens yet.
Hi Simon, That's not what I'm seeing... I don't know if you have access to the .mov I uploaded to Radar, but the entire JS engine freezes until I move the mouse (clicking the nav items on the left nav doesn't update the list on the right until I move the mouse [or a background XHR completes?]). WKWebView seems to be using the multi process renderer, but no idea why that makes a difference in this case. There's a lot of code in the uploaded sample, but you can just stick a WebView into a view controller and the same thing happens (and we've had users complaining that Fluid.app "hangs" after upgrading to El Capitan, etc, etc). WKWebView works for us as a work around since it seems faster anyway, but I don't understand the reason for what's happening, and thought it might be worth investigating/fixing.
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