[Webkit-unassigned] [Bug 272364] New: [GTK] Regression with webview background color rendering and DRI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 18:10:20 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272364

            Bug ID: 272364
           Summary: [GTK] Regression with webview background color
                    rendering and DRI
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: philip.chimento at gmail.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 470827

  --> https://bugs.webkit.org/attachment.cgi?id=470827&action=review

Sample program

The attached sample program demonstrates a web view in GTK 3 that is supposed to be transparent, i.e. renders the HTML on top of the background color of the GtkWindow that the web view is placed in.

At some point between GNOME 43 (webkit2gtk-4.1 2.40.5) and 44 (webkit2gtk-4.1 2.42.5) there was a regression that caused this to stop working. Instead of the background color of the window, the contents of the screen behind the window show through, but in a glitchy way. However, if the DRI permission is disabled, the glitch is gone, and the behaviour is as expected.

See the attached video where I executed the sample program in subsequent flatpak runtimes:

- org.gnome.Platform//43 with --device=dri - works as expected
- org.gnome.Platform//44 with --device=dri - glitches
- org.gnome.Platform//44 without --device=dri - works as expected

The equivalent program using GTK 4 and webkitgtk-6.0 doesn't seem to exhibit this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240409/add4d525/attachment.htm>


More information about the webkit-unassigned mailing list