<?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>208091</bug_id>
          
          <creation_ts>2020-02-22 05:42:46 -0800</creation_ts>
          <short_desc>[GTK] Page is not drawn with PSON, hardware acceleration and address typed in URL bar</short_desc>
          <delta_ts>2020-04-12 02:27:47 -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>Unspecified</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=210287</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="Guilaume Ayoub">guillaume.webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1621870</commentid>
    <comment_count>0</comment_count>
    <who name="Guilaume Ayoub">guillaume.webkit</who>
    <bug_when>2020-02-22 05:42:46 -0800</bug_when>
    <thetext>Pages are not drawn when:

- hardware acceleration is enabled (it works without),
- PSON is enabled (it works in Epiphany 3.35.2 without PSON),
- an URL is given in the URL bar (it often works when the page is drawn at startup or when I click on a link).

When the cursor is moved on the page, we can see that links are where they are supposed to be on the new page: new page’s layout is done, but the old one is drawn instead.

The bug had been reported on Epiphany’s bug tracker, but they said that it’s probably a bug in WebKitGTK. It can be reproduced with Epiphany 3.35.3+ by enabling hardware acceleration and visiting a website using the URL bar.

https://gitlab.gnome.org/GNOME/epiphany/issues/1109</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621998</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-02-23 08:59:24 -0800</bug_when>
    <thetext>(In reply to Guilaume Ayoub from comment #0)
&gt; Pages are not drawn when:
&gt; 
&gt; - hardware acceleration is enabled (it works without),

Specifically, when hardware acceleration policy is always, right? The bug doesn&apos;t occur for on-demand?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621999</commentid>
    <comment_count>2</comment_count>
    <who name="Guilaume Ayoub">guillaume.webkit</who>
    <bug_when>2020-02-23 09:00:37 -0800</bug_when>
    <thetext>&gt; Specifically, when hardware acceleration policy is always, right? The bug
&gt; doesn&apos;t occur for on-demand?

Exactly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639852</commentid>
    <comment_count>3</comment_count>
    <who name="Guilaume Ayoub">guillaume.webkit</who>
    <bug_when>2020-04-09 13:52:50 -0700</bug_when>
    <thetext>Disabling PSON in WebKitGTK with the patch provided in https://bugs.webkit.org/show_bug.cgi?id=210287 fixes the problem.

(Using &quot;always&quot; for hardware acceleration gives really impressive results on my computer ♥.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639921</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-04-09 15:34:13 -0700</bug_when>
    <thetext>Are you building with -DWPE_RENDERER=OFF? Or do you have libwpe etc. installed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1639922</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-04-09 15:35:28 -0700</bug_when>
    <thetext>Er I guess if my patch fixed the issue for you, then it&apos;s because you have it OFF.

AC mode is totally busted right now unless WPE_RENDERER is enabled. These bugs are the same underlying issue; we just need to remember to test both issues to ensure they&apos;re both fixed by whatever final patch we come up with.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640045</commentid>
    <comment_count>6</comment_count>
    <who name="Guilaume Ayoub">guillaume.webkit</who>
    <bug_when>2020-04-09 22:52:23 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #4)
&gt; Are you building with -DWPE_RENDERER=OFF? Or do you have libwpe etc.
&gt; installed?

I do.

&gt; Er I guess if my patch fixed the issue for you, then it&apos;s because you have it OFF.

Of course.

&gt; AC mode is totally busted right now unless WPE_RENDERER is enabled. These bugs are the same underlying issue; we just need to remember to test both issues to ensure they&apos;re both fixed by whatever final patch we come up with.

I won’t forget ;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640146</commentid>
    <comment_count>7</comment_count>
      <attachid>396077</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-04-10 06:27:23 -0700</bug_when>
    <thetext>Created attachment 396077
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640353</commentid>
    <comment_count>8</comment_count>
      <attachid>396077</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-04-10 14:11:28 -0700</bug_when>
    <thetext>Comment on attachment 396077
Patch

Nice!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640535</commentid>
    <comment_count>9</comment_count>
    <who name="Guilaume Ayoub">guillaume.webkit</who>
    <bug_when>2020-04-11 07:37:20 -0700</bug_when>
    <thetext>It works well for me, thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640658</commentid>
    <comment_count>10</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-04-12 02:27:47 -0700</bug_when>
    <thetext>Committed r259943: &lt;https://trac.webkit.org/changeset/259943&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>396077</attachid>
            <date>2020-04-10 06:27:23 -0700</date>
            <delta_ts>2020-04-10 14:11:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-ac-always-pson.diff</filename>
            <type>text/plain</type>
            <size>1969</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9DaGFu
Z2VMb2cKaW5kZXggYjAxOThhM2I3ZWYwLi5kMGJmNzc4YmU2MDYgMTAwNjQ0Ci0tLSBhL1NvdXJj
ZS9XZWJLaXQvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCkBAIC0xLDMg
KzEsMTcgQEAKKzIwMjAtMDQtMTAgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2Fs
aWEuY29tPgorCisgICAgICAgIFtHVEtdIFBhZ2UgaXMgbm90IGRyYXduIHdpdGggUFNPTiwgaGFy
ZHdhcmUgYWNjZWxlcmF0aW9uIGFuZCBhZGRyZXNzIHR5cGVkIGluIFVSTCBiYXIKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIwODA5MQorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFRoaXMgaGFwcGVucyBvbmx5
IHdoZW4gYWNjZWxlcmF0ZWQgY29tcG9zaXRpbmcgbW9kZSBwb2xpY3kgaXMgc2V0IHRvIGFsd2F5
cy4gSW4gdGhpcyBjYXNlLCB0aGUKKyAgICAgICAgYmluZFN1cmZhY2VUb1dlYlBhZ2Ugd2F5bGFu
ZCBtZXNzYWdlIGlzIHJlY2VpdmVkIGJl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SAiUHJvdmlzaW9uYWxQYWdlUHJveHkuaCIKICNpbmNsdWRlICJXZWJLaXRXYXlsYW5kU2Vy
dmVyUHJvdG9jb2wuaCIKICNpbmNsdWRlIDxFR0wvZWdsLmg+CiAjaW5jbHVkZSA8RUdML2VnbGV4
dC5oPgpAQCAtNTU4LDcgKzU1OSw5IEBAIHZvaWQgV2F5bGFuZENvbXBvc2l0b3I6OmJpbmRTdXJm
YWNlVG9XZWJQYWdlKFdheWxhbmRDb21wb3NpdG9yOjpTdXJmYWNlKiBzdXJmYWNlCiB7CiAgICAg
V2ViUGFnZVByb3h5KiB3ZWJQYWdlID0gbnVsbHB0cjsKICAgICBmb3IgKGF1dG8qIHBhZ2UgOiBt
X3BhZ2VNYXAua2V5cygpKSB7Ci0gICAgICAgIGlmIChwYWdlLT53ZWJQYWdlSUQoKSA9PSBwYWdl
SUQpIHsKKyAgICAgICAgYXV0byogcHJvdmlzaW9uYWxQYWdlID0gcGFnZS0+cHJvdmlzaW9uYWxQ
YWdlUHJveHkoKTsKKyAgICAgICAgYXV0byB3ZWJQYWdlSUQgPSBwcm92aXNpb25hbFBhZ2UgPyBw
cm92aXNpb25hbFBhZ2UtPndlYlBhZ2VJRCgpIDogcGFnZS0+d2ViUGFnZUlEKCk7CisgICAgICAg
IGlmICh3ZWJQYWdlSUQgPT0gcGFnZUlEKSB7CiAgICAgICAgICAgICB3ZWJQYWdlID0gcGFnZTsK
ICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICB9Cg==
</data>
<flag name="review"
          id="411510"
          type_id="1"
          status="+"
          setter="mcatanzaro"
    />
          </attachment>
      

    </bug>

</bugzilla>