<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>193281</bug_id>
          
          <creation_ts>2019-01-09 07:24:50 -0800</creation_ts>
          <short_desc>PDF content disappears and turns grey in WKWebView after view controller switching on iOS 12</short_desc>
          <delta_ts>2023-06-27 12:31:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>PDF</component>
          <version>Other</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin D&apos;Arcangelo">jdarcangelo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>jtudruj</cc>
    
    <cc>ocannal</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1492943</commentid>
    <comment_count>0</comment_count>
    <who name="Justin D&apos;Arcangelo">jdarcangelo</who>
    <bug_when>2019-01-09 07:24:50 -0800</bug_when>
    <thetext>If you load a PDF in a WKWebView on iOS 12, it will display and everything works as expected until you switch view controllers. Upon returning to the view controller with the WKWebView, the PDF content will disappear and turn grey, however, the scrolling and page counter will still be present even though the PDF content is not.

We are experiencing this bug in Firefox for iOS on iOS 12, but this Stack Overflow post is also describing our exact issue:

https://stackoverflow.com/questions/52735158/wkwebview-shows-gray-background-and-pdf-content-gets-invisible-on-viewcontroller</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492967</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-01-09 09:14:26 -0800</bug_when>
    <thetext>&lt;rdar://problem/47148038&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1493453</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-01-10 14:09:56 -0800</bug_when>
    <thetext>Thank you for the bug report!

It&apos;s been determined that this issue is in a system component below WebKit, so closing as INVALID. This will continue to be tracked by Apple internally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1493517</commentid>
    <comment_count>3</comment_count>
    <who name="Justin D&apos;Arcangelo">jdarcangelo</who>
    <bug_when>2019-01-10 15:49:55 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #2)
&gt; Thank you for the bug report!
&gt; 
&gt; It&apos;s been determined that this issue is in a system component below WebKit,
&gt; so closing as INVALID. This will continue to be tracked by Apple internally.

No problem. Thanks for taking a look!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1729934</commentid>
    <comment_count>4</comment_count>
    <who name="okan">ocannal</who>
    <bug_when>2021-02-16 14:17:23 -0800</bug_when>
    <thetext>This is still an issue on WKWebView, do we have any info about the internally tracked issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1963754</commentid>
    <comment_count>5</comment_count>
    <who name="Jakub Tudruj">jtudruj</who>
    <bug_when>2023-06-27 02:25:17 -0700</bug_when>
    <thetext>The bug still appears. Checked on iOS 16.5.1 and below.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1963870</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-06-27 12:31:02 -0700</bug_when>
    <thetext>Please file a new bug with specific instructions to reproduce.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>