<?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>220197</bug_id>
          
          <creation_ts>2020-12-30 05:25:07 -0800</creation_ts>
          <short_desc>WKWebView inside a fullscreen quicklook preview lag while page scrolling</short_desc>
          <delta_ts>2021-01-11 10:51:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>Safari 14</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>sbarex</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1716834</commentid>
    <comment_count>0</comment_count>
    <who name="">sbarex</who>
    <bug_when>2020-12-30 05:25:07 -0800</bug_when>
    <thetext>I have a Quicklook appex that show the file contents by a WKWebView. 
The preview inside a normal quicklook window works well, but if the window is in fullscreen is not possibile to scroll with the trackpad gesture.

I do not know is is related to bug [219632](https://bugs.webkit.org/show_bug.cgi?id=219632).
Using the deprecated WebView insted of WKWebView the preview can be scrolled on fullscreen mode.

I have created a demo code here:
https://github.com/sbarex/QLTest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717136</commentid>
    <comment_count>1</comment_count>
    <who name="">sbarex</who>
    <bug_when>2021-01-04 08:59:17 -0800</bug_when>
    <thetext>Also, non in full screen, if I click on a link to a local anchor, the scroll start after some delay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717364</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-05 10:01:54 -0800</bug_when>
    <thetext>&lt;rdar://problem/72817636&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717366</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-01-05 10:02:15 -0800</bug_when>
    <thetext>The subject says &quot;preview lag&quot; but you also say &quot;is not possibile to scroll&quot;. &quot;Lag&quot; implies that it scrolls, but slowly. Could you clarify?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717638</commentid>
    <comment_count>4</comment_count>
    <who name="">sbarex</who>
    <bug_when>2021-01-06 06:30:06 -0800</bug_when>
    <thetext>In full screen mode, the two-finger gesture on the trackpad does not scroll the content. But executing the gesuture quickly (which in normal situation would make the content scroll fast) you can scroll about 2 lines at a time, jerky and without the elastic effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718573</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-01-09 11:49:42 -0800</bug_when>
    <thetext>Please give instructions about how to use your test project to get fullscreen QuickLook. Should I run the QLTest target and choose &quot;Open QuickLook for a test file&quot;?

What macOS version are you testing on? Does the bug only occur on some OS versions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718740</commentid>
    <comment_count>6</comment_count>
    <who name="">sbarex</who>
    <bug_when>2021-01-11 10:51:49 -0800</bug_when>
    <thetext>(In reply to Simon Fraser (smfr) from comment #5)
&gt; Please give instructions about how to use your test project to get
&gt; fullscreen QuickLook. Should I run the QLTest target and choose &quot;Open
&gt; QuickLook for a test file&quot;?
&gt; 
&gt; What macOS version are you testing on? Does the bug only occur on some OS
&gt; versions?

You must open the quicklook preview from the finder (open from the app do not show the fullscreen button!). 
Follow these steps:
- download the precompiled test app from https://github.com/sbarex/QLTest/releases
- move the app on the Applications folder (this force the detection of the ql extension)
- launch the app and push on the button &quot;browse for a test file&quot; to select a test file on the finder. 
- From the selected file on Finder open the quicklook preview.
- Maximize the preview to fullscreen.

I&apos;m using Big Sur 11.1 (Intel). On Catalina I do not detect this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>