<?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>260073</bug_id>
          
          <creation_ts>2023-08-11 09:10:53 -0700</creation_ts>
          <short_desc>REGRESSION(2.41.90): Cannot scroll certain pages due to rendering failure, must switch to different tab to update rendering</short_desc>
          <delta_ts>2023-09-25 00:43:25 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=259264</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=260146</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=260446</see_also>
          <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="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>abrarsl2002</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>kdwkleung</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pbryan</cc>
    
    <cc>two</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>xry111</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1970730</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-11 09:10:53 -0700</bug_when>
    <thetext>With Ephy Tech Preview using WebKitGTK 2.41.90, right click this link to open it in a new tab:

https://github.com/WebKit/WebKit

Then try to scroll the page. Notice scrolling does not work at all. The scrolling actually happens, but the changes are not drawn unless you switch to a new tab and back again.

The bug doesn&apos;t seem to happen when loading the URL directly. Only happens when using the &quot;open in new tab&quot; action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970899</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-12 07:17:33 -0700</bug_when>
    <thetext>Might or might not be a duplicate of bug #259264</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970900</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-12 07:33:59 -0700</bug_when>
    <thetext>This bug does not occur when using WEBKIT_DISABLE_DMABUF_RENDERER=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970944</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-08-13 06:05:01 -0700</bug_when>
    <thetext>Does it always happen? I can&apos;t reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970945</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-08-13 06:06:32 -0700</bug_when>
    <thetext>Ok, I can reproduce with GTK4 only</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970963</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-13 10:49:12 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #3)
&gt; Does it always happen?

I think it happens always.

Also, it seems to be some general performance issue rather than specific to scrolling. E.g. typing is also affected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971048</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-08-14 09:46:13 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/16668</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972839</commentid>
    <comment_count>7</comment_count>
    <who name="Xi Ruoyao">xry111</who>
    <bug_when>2023-08-22 20:45:48 -0700</bug_when>
    <thetext>Interestingly it no longer shows up in 2.41.91 despite the PR is not merged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972959</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-08-23 06:52:35 -0700</bug_when>
    <thetext>(In reply to Xi Ruoyao from comment #7)
&gt; Interestingly it no longer shows up in 2.41.91 despite the PR is not merged.

Yes because bug #260146 works around it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973363</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-24 15:00:45 -0700</bug_when>
    <thetext>(In reply to Xi Ruoyao from comment #7)
&gt; Interestingly it no longer shows up in 2.41.91 despite the PR is not merged.

So the original problem where this occurs reproducibly is indeed fixed, but I&apos;m still hitting the problem quite regularly with 2.41.91, so it&apos;s definitely still broken. :( Unfortunately it seems to occur purely at random now. It&apos;s no longer reproducible after bug #260146.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975818</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-06 09:47:00 -0700</bug_when>
    <thetext>Carlos found a reproducer: it breaks after a cross-origin navigation followed by a history navigation. Click any of the links to https://github.com in this bug report, then click Back, and the bug will occur.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976632</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-09 10:06:35 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #10)
&gt; Carlos found a reproducer: it breaks after a cross-origin navigation
&gt; followed by a history navigation. Click any of the links to
&gt; https://github.com in this bug report, then click Back, and the bug will
&gt; occur.

Carlos fixed this via bug #261273. But unfortunately, although the rendering failure after history navigation is fixed, this general bug is still happening as of 2.41.92, so we&apos;re back to being unable to reproduce the problem. Honestly I do not think we&apos;re in good shape to release 2.42.0 currently. :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976949</commentid>
    <comment_count>12</comment_count>
    <who name="Paul Bryan">pbryan</who>
    <bug_when>2023-09-11 16:09:46 -0700</bug_when>
    <thetext>*** Bug 260553 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976950</commentid>
    <comment_count>13</comment_count>
    <who name="Paul Bryan">pbryan</who>
    <bug_when>2023-09-11 16:12:03 -0700</bug_when>
    <thetext>I too cannot get this to reproduce reliably, but it is still occurring today with WebKitGTK 2.41.92.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976969</commentid>
    <comment_count>14</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-11 17:01:18 -0700</bug_when>
    <thetext>*** Bug 259264 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976974</commentid>
    <comment_count>15</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-11 17:08:09 -0700</bug_when>
    <thetext>So bug #259264 provides evidence that this broke prior to July 16 (thanks Kdwk!). And I&apos;m moderately confident that 2.41.6 did not have this bug. So it likely broke somewhere in the 12-day span between July 4 and July 16.

My next assumption was that one of Carlos Garcia&apos;s graphics commits surely introduced this issue, so I went looking and found that he took a break during this timespan and landed zero pull requests during this time. Drat.

I will bisect bug #260446 next to see where it leads. It might be related to this one. Maybe. Can&apos;t think of anything else to try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977009</commentid>
    <comment_count>16</comment_count>
    <who name="Paul Bryan">pbryan</who>
    <bug_when>2023-09-11 21:21:21 -0700</bug_when>
    <thetext>As others have noted, I too find it much easier to reproduce in Power Saver mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977010</commentid>
    <comment_count>17</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-09-11 22:07:45 -0700</bug_when>
    <thetext>I think https://github.com/WebKit/WebKit/pull/16668 fixes this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977034</commentid>
    <comment_count>18</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-09-12 02:17:09 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #17)
&gt; I think https://github.com/WebKit/WebKit/pull/16668 fixes this.

It doesn&apos;t fix it in all the cases and it&apos;s not the right fix. I&apos;ve just disabled frame rate throttling in the stable branch. For main, we are already working on a new display refresh monitor implementation that will correctly handle the frame rate throttling. For the stable branch we&apos;ll see if we leave the workaround, find a solution or just backport the new display refresh.

https://github.com/WebKit/WebKit/commit/0b063c26d00ed38a6188033e64a0446004bfc665</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977036</commentid>
    <comment_count>19</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-09-12 02:17:36 -0700</bug_when>
    <thetext>*** Bug 260446 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1978967</commentid>
    <comment_count>20</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-21 06:09:40 -0700</bug_when>
    <thetext>This was &quot;fixed&quot; on the 2.42 branch by https://github.com/WebKit/WebKit/commit/0b063c26d00ed38a6188033e64a0446004bfc665. I&apos;m confident the problem is fully resolved in 2.42.

However, that is a stable branch commit that did not land on main. Is this really fixed on main? Reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979125</commentid>
    <comment_count>21</comment_count>
    <who name="">two</who>
    <bug_when>2023-09-21 13:53:07 -0700</bug_when>
    <thetext>i don&apos;t have this on gnome-nightly any more</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979133</commentid>
    <comment_count>22</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-21 14:12:01 -0700</bug_when>
    <thetext>That&apos;s because gnome-nightly has 2.42.0. This bug will return in 2.43.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979744</commentid>
    <comment_count>23</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2023-09-25 00:43:25 -0700</bug_when>
    <thetext>This will be fixed by #261673, no need to reopen.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>