[Webkit-unassigned] [Bug 215119] New: [GTK] webkit_web_view_set_background_color doesn't work as expected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 4 01:35:22 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215119
Bug ID: 215119
Summary: [GTK] webkit_web_view_set_background_color doesn't
work as expected
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Keywords: Gtk
Severity: Major
Priority: P3
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: maxim11853 at gmail.com
CC: bugs-noreply at webkitgtk.org
Created attachment 405907
--> https://bugs.webkit.org/attachment.cgi?id=405907&action=review
The gtkmm example with screenshots
Hello, while upgrading from 2.4.11 which is really old to 2.28.4 I've noticed some API changes related to the background color. In webkitgtk 2.4.11 there is a webkit_web_view_set_transparent function which is literally erasing the background color of HTML document. That's exactly what I needed in my application. In webkit2gtk that function was changed to a more generic webkit_web_view_set_background_color which seems like a minor change. However it doesn't behave the same as webkit_web_view_set_transparent.
Linux Distro: Ubuntu 18.04
Webkit2GTK version: 2.28.4
gtkmm version: 3.22.2
I've prepared a small gtkmm (C++ bindings for GTK+) example which works fine with 2.4.11 and doesn't work with webkit2gtk versions. The example consists of an GTK image and WebKitWebView on top of it. You need to build using CMake and adjust paths for image and .html document. I've also added the screenshots.
Am I missing something else or it's a regression?
--
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/20200804/f269dfab/attachment-0001.htm>
More information about the webkit-unassigned
mailing list