<?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>194996</bug_id>
          
          <creation_ts>2019-02-24 21:32:14 -0800</creation_ts>
          <short_desc>Scrolling tree should do an update after layer flushing on macOS</short_desc>
          <delta_ts>2019-03-12 20:04:27 -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>Scrolling</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>195507</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fred.wang</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1509539</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-02-24 21:32:14 -0800</bug_when>
    <thetext>The scrolling tree contains the latest scrolling-related state for layers managed by the scrolling tree. When the main thread flushes compositing layers, it might flush layer positions that are stale in relation to the scrolling thread state. We currently (mostly) avoid jank here by the tricky &quot;set or sync&quot; logic, and &quot;isInUserScroll&quot; state, but it would be simpler to just have the scrolling tree do a pass after layer flushing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1509540</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-02-24 21:33:01 -0800</bug_when>
    <thetext>On iOS we already do this by pushing the current layoutViewportRect through the scrolling coordinator in the UI process, after receiving a transaction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1515847</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-03-12 20:04:27 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 195507 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>