<?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>294967</bug_id>
          
          <creation_ts>2025-06-25 04:02:24 -0700</creation_ts>
          <short_desc>[GTK] [2.48.2] REGRESSION: evolution messages are displayed with a white background on NVIDIA</short_desc>
          <delta_ts>2025-09-27 11:03:42 -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>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alberto Garcia">berto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mir</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2125745</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2025-06-25 04:02:24 -0700</bug_when>
    <thetext>Some Debian users have reported regressions after having updated WebKitGTK 2.48.1 to 2.48.3.

They have NVIDIA GPUs and in Debian we carry this downstream patch to disable the dmabuf renderer by default:

https://salsa.debian.org/webkit-team/webkit/-/raw/debian/2.48.3-1/debian/patches/disable-nvidia-dmabuf.patch

One reported regression is that evolution emails are displayed with a white background, even with dark mode/theme enabled.

There is a bit more information in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107962 and https://gitlab.gnome.org/GNOME/evolution/-/issues/3078, but the user confirmed that downgrading WebKitGTK to 2.48.1 solves the problem.

Another issue is that liferea&apos;s previews are not displayed, but in this case 2.48.1 does not seem to be enough to solve the problem. I&apos;ll file another report for that issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2125765</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-06-25 06:57:50 -0700</bug_when>
    <thetext>Narrowing it down to 2.48.2 vs. 2.48.3 would be useful.

A bisect would be even better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2125831</commentid>
    <comment_count>2</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2025-06-25 11:08:10 -0700</bug_when>
    <thetext>It seems that 2.48.2 is also broken, so the problem happened between 2.48.1 and 2.48.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2144641</commentid>
    <comment_count>3</comment_count>
    <who name="">mir</who>
    <bug_when>2025-09-20 07:43:04 -0700</bug_when>
    <thetext>(In reply to Alberto Garcia from comment #2)
&gt; It seems that 2.48.2 is also broken, so the problem happened between 2.48.1
&gt; and 2.48.2

On Debian Sid the version before upgrade was working.
Version before upgrade: libwebkit2gtk-4.1-0:amd64 (2.48.5-1+b1, 2.48.6-1)
Version after upgrade: libwebkit2gtk-4.1-0:amd64 (2.48.6-1, 2.50.0-1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2144681</commentid>
    <comment_count>4</comment_count>
    <who name="">mir</who>
    <bug_when>2025-09-20 16:51:34 -0700</bug_when>
    <thetext>Actually all versions after 2.48.6-1 is broken. Current version in Sid is 2.50.0-1
Downgrading to these versions fixes the problem:
gir1.2-javascriptcoregtk-4.1_2.48.6-1_amd64.deb
gir1.2-webkit2-4.1_2.48.6-1_amd64.deb
libjavascriptcoregtk-4.1-0_2.48.6-1_amd64.deb
libjavascriptcoregtk-4.1-dev_2.48.6-1_amd64.deb
libwebkit2gtk-4.1-0_2.48.6-1_amd64.deb
libwebkit2gtk-4.1-dev_2.48.6-1_amd64.deb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2144721</commentid>
    <comment_count>5</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2025-09-21 11:59:46 -0700</bug_when>
    <thetext>That&apos;s because 2.50.0-1 in Debian does not disable the DMABUF renderer if an NVIDIA card is detected.

This can be worked around with the WEBKIT_DISABLE_DMABUF_RENDERER=1 environment variable.

But I think I&apos;ll need to patch WebKit again so it&apos;s disabled automatically.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146467</commentid>
    <comment_count>6</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2025-09-27 09:43:34 -0700</bug_when>
    <thetext>2.50.0-2 is now in Debian, it should fix the NVIDIA problems with 2.50.0-1, can you give it a try?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2146486</commentid>
    <comment_count>7</comment_count>
    <who name="">mir</who>
    <bug_when>2025-09-27 11:03:42 -0700</bug_when>
    <thetext>(In reply to Alberto Garcia from comment #6)
&gt; 2.50.0-2 is now in Debian, it should fix the NVIDIA problems with 2.50.0-1,
&gt; can you give it a try?

I already replied here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107962#142
Summary: Everything works ;-)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>