[webkit-gtk] RenderTheme changes in WebKitGTK for 2.30

Carlos Garcia Campos cgarcia at igalia.com
Wed Feb 26 04:49:02 PST 2020


Hi, 

we have recently landed a patch in trunk to stop using the GTK foreign
drawing APIs to style the form controls and scrollbars. The theming
caused a lot of layout and rendering issues in several websites, and it
didn't really work with many GTK themes (it was mainly tested with
Adwaita). There were more issues with that code, like it was hard to
maintain, it prevented to properly support CSS color-schemes, and
threaded rendering (because it rendered directly to the cairo context
instead of using GraphicsContext). Foreign drawing won't be available
in GTK4, so this is also in preparation for GTK4. For now, we are still
asking the theme for selection colors, so at least we keep some
consistency with the system appearance. There are a few known issues,
but we don't expect too many changes.

So, we would like to get some feedback about how WebKitGTK applications
look with the new theming. It's early in the release cycle, so we have
time to fix or improve whatever we need, but for that, it's important
to get early feedback too. The new theme is based on Adwaita, but a bit
simplified to reduce the usage of gradients, transparencies, etc.

Thanks!
-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20200226/adeea1ea/attachment.bin>


More information about the webkit-gtk mailing list