<?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>253117</bug_id>
          
          <creation_ts>2023-02-28 15:03:00 -0800</creation_ts>
          <short_desc>[UI-side compositing] Run keyboard scroll animations in the scrolling thread</short_desc>
          <delta_ts>2023-03-10 12:28:22 -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>Scrolling</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>richard_robinson2</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1937568</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-02-28 15:03:00 -0800</bug_when>
    <thetext>We don&apos;t dispatch keyboard scrolling animations to the scrolling thread, and we should:

3   0x12f5acd6f WebKit::RemoteScrollingTreeMac::hasNodeWithAnimatedScrollChanged(bool)
4   0x1646dbee0 WebCore::ScrollingTree::setScrollAnimationInProgressForNode(unsigned long long, bool)
5   0x1646f7852 WebCore::ScrollingTreeScrollingNode::setScrollAnimationInProgress(bool)
6   0x1646fd406 WebCore::ThreadedScrollingTreeScrollingNodeDelegate::startAnimationCallback(WebCore::ScrollingEffectsController&amp;)
7   0x16476fd98 WebCore::ScrollingEffectsController::startOrStopAnimationCallbacks()
8   0x16476fe3b WebCore::ScrollingEffectsController::setIsAnimatingKeyboardScrolling(bool)
9   0x16476fdea WebCore::ScrollingEffectsController::willBeginKeyboardScrolling()
10  0x164771da5 WebCore::ScrollingEffectsController::scrollAnimationWillStart(WebCore::ScrollAnimation&amp;)
11  0x162597f5b WebCore::ScrollAnimation::didStart(WTF::MonotonicTime)
12  0x16474a98d WebCore::ScrollAnimationKeyboard::startKeyboardScroll(WebCore::KeyboardScroll const&amp;)
13  0x16476fefc WebCore::ScrollingEffectsController::startKeyboardScroll(WebCore::KeyboardScroll const&amp;)
14  0x1646fdcb3 WebCore::ThreadedScrollingTreeScrollingNodeDelegate::handleKeyboardScrollRequest(WebCore::RequestedKeyboardScrollData const&amp;)
15  0x1646f6af8 WebCore::ScrollingTreeScrollingNode::handleKeyboardScrollRequest(WebCore::RequestedKeyboardScrollData const&amp;)
16  0x1646f685a WebCore::ScrollingTreeScrollingNode::commitStateAfterChildren(WebCore::ScrollingStateNode const&amp;)
17  0x1618fddb1 WebCore::ScrollingTreeFrameScrollingNodeMac::commitStateAfterChildren(WebCore::ScrollingStateNode const&amp;)
18  0x1646da2b1 WebCore::ScrollingTree::updateTreeFromStateNodeRecursive(WebCore::ScrollingStateNode const*, WebCore::CommitTreeState&amp;)
19  0x1646da27f WebCore::ScrollingTree::updateTreeFromStateNodeRecursive(WebCore::ScrollingStateNode const*, WebCore::CommitTreeState&amp;)
20  0x1646da27f WebCore::ScrollingTree::updateTreeFromStateNodeRecursive(WebCore::ScrollingStateNode const*, WebCore::CommitTreeState&amp;)
21  0x1646d9640 WebCore::ScrollingTree::commitTreeState(std::__1::unique_ptr&lt;WebCore::ScrollingStateTree, std::__1::default_delete&lt;WebCore::ScrollingStateTree&gt;&gt;&amp;&amp;)
22  0x12fcb8f1b WebKit::RemoteScrollingCoordinatorProxy::commitScrollingTreeState(WebKit::RemoteScrollingCoordinatorTransaction const&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937569</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-28 15:03:31 -0800</bug_when>
    <thetext>&lt;rdar://problem/106053716&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937573</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-02-28 15:15:36 -0800</bug_when>
    <thetext>Need to do something similar to what ThreadedScrollingTree::scrollingTreeNodeRequestsScroll() does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1939971</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Robinson">richard_robinson2</who>
    <bug_when>2023-03-08 22:48:31 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/11284</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940477</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-03-10 12:28:20 -0800</bug_when>
    <thetext>Committed 261518@main (b1e1c93fe134): &lt;https://commits.webkit.org/261518@main&gt;

Reviewed commits have been landed. Closing PR #11284 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>