WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
205383
Screen blinks after open html attachment
https://bugs.webkit.org/show_bug.cgi?id=205383
Summary
Screen blinks after open html attachment
Yuliia
Reported
2019-12-18 02:28:09 PST
Minimum Steps to Reproduce: 1. load local html resource in WKWebView F.e.: let htmlPath = Bundle.main.path(forResource: "index", ofType: "html") let htmlUrl = URL(fileURLWithPath: htmlPath!, isDirectory: false) webView.loadFileURL(htmlUrl, allowingReadAccessTo: htmlUrl) 2. Observe html file rendering process Actual Result: Content of file displays, screen starts to blink Expected Result: Content of file should be displayed without problems Environment Details : iPadPro iOS 13.3
Attachments
Sample which may be used to reproduce described behavior
(267.35 KB, application/zip)
2019-12-19 04:00 PST
,
Yuliia
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2019-12-18 11:35:16 PST
Please provide the entire project and the HTML that reproduces this. We need more than just a description of the problem. If you need to provide confidential info, please use bugreport.apple.com.
Yuliia
Comment 2
2019-12-19 04:00:01 PST
Created
attachment 386093
[details]
Sample which may be used to reproduce described behavior Provided project and the HTML that reproduces described issue.
Simon Fraser (smfr)
Comment 3
2019-12-19 13:21:16 PST
Blink looks like toggling between two viewport sizes.
Radar WebKit Bug Importer
Comment 4
2019-12-19 13:21:27 PST
<
rdar://problem/58089555
>
Simon Fraser (smfr)
Comment 5
2019-12-19 13:23:22 PST
I can reproduce.
Wenson Hsieh
Comment 6
2019-12-19 13:26:12 PST
This looks pretty bad. For the time being, you can work around the issue by adding this line: … let configuration = WKWebViewConfiguration() + configuration.defaultWebpagePreferences.preferredContentMode = .mobile webView = WKWebView(frame: view.bounds, configuration: configuration) …
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