<?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>192522</bug_id>
          
          <creation_ts>2018-12-07 16:14:07 -0800</creation_ts>
          <short_desc>[GTK] Window shadows broken in AC mode with the amdgpu or nouveau graphics driver</short_desc>
          <delta_ts>2019-05-14 13:01:32 -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>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>192523</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>otte</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1486209</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-12-07 16:14:07 -0800</bug_when>
    <thetext>Window shadows are borked for me in AC mode. This bug *seems* to affect amdgpu and noveau users, but not Intel graphics.

See: https://gitlab.gnome.org/GNOME/gtk/issues/1401

After some debugging with Company we determined &quot;the shadows are NOT messed up in the image passed to gdk_window_end_paint_internal()&quot; and that &quot;we use OpenGL (in gdk-wayland) to send the window contents to the compositor and it seems that is going wrong once Webkit gets involved&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1499560</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-29 09:16:46 -0800</bug_when>
    <thetext>OK, I just noticed this is affecting Yelp too. This is bad. I think we need to disable AC mode by default at the WebKit level until it&apos;s fixed. Apps that want it can opt in.

This issue does not affect Fedora 30, but it does affect the GNOME master runtime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1501493</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-02-02 07:44:43 -0800</bug_when>
    <thetext>I was hoping this was fixed in bug #193903, but sadly not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1501501</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2019-02-02 08:47:35 -0800</bug_when>
    <thetext>FTR, today checking things a bit with Michael he noticed that this
happens both with WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND
and WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS.

So at least we know it&apos;s nothing related to the on-demand activation
of AC... which is not much new to know, but may help a little bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536204</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-05-14 13:01:32 -0700</bug_when>
    <thetext>This appears to have fixed itself sometime in the past three months.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>