-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web view gets stuck on one article #3716
Comments
When the bug occurs it seems to correlate with a console log message along the lines of:
|
It seems to have something to do with the feed in question including PDF resources that are embedded directly in the article content. The "stuck" process associated with the web view is in a state where it appears to be waiting for the PDF plugin to deallocate:
|
I filed a bug with the WebKit project to document the underlying deadlock in WebKit's built-in PDF support: https://bugs.webkit.org/show_bug.cgi?id=246454 I'm not sure if we want to work around the issue in NNW but one possibility, if so, might be to see if we can examine the loaded web page, detect that it includes embedded PDF content, and if it impose some kind of timeout in NNW after which we would destroy and reconstruct the web view. |
A more generalized workaround to consider might be to see if we can detect the scenario of a web view becoming unresponsive, and proactively terminate/reload it. |
Some articles and/or blogs seem to provoke the problem. As reported in the Slack, the https://www.railwayage.com/feed/ feed seems to cause it, and I was able to reproduce it first in the context of a Feedbin subscription and then separately as a local subscription in NetNewsWire Mac.
Attached screencast demonstrates the problem:
Once the freeze occurs it appears the web view cannot even be clicked into.
WebViewFreeze.mov
The text was updated successfully, but these errors were encountered: