From 6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 21 Sep 2024 20:30:40 +0100 Subject: Work around WebKit2 bugs that stop right hand pane icons being displayed. Since WebKit2 2.36, the icons in the right hand pane are not displayed on numerous (but not all) combinations of graphics hardware and drivers. This seems to be due to bugs in the WebKit2 accelerated compositing mode. The workaround is to disable WebKit2 accelerated compositing. This workaround was already released as a temporary fix for mga9, but still appears to be needed. See mga#30332, mga#32185, and mga#33573. --- NEWS | 3 +++ control-center | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/NEWS b/NEWS index 71f06676..aee80f2b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- work around WebKit2 bugs that stop icons being displayed + (mga#30332, mga#32185, mga#33573) + Version 13.29 - 18 June 2023, by Papoteur - new artwork for Mageia 9, splashscreen of CCM diff --git a/control-center b/control-center index 4498b78b..5b01f458 100755 --- a/control-center +++ b/control-center @@ -24,6 +24,14 @@ # force gtk+3 to use the x11 backend, especially on wayland (mga#19498) # we rely on xwayland as It's also needed in order to have working GtkSocket/GtkPlug BEGIN { $ENV{GDK_BACKEND} = 'x11' if exists $ENV{WAYLAND_DISPLAY} } + +# Work around webkit2 issues that prevent the icons in the right hand pane +# from being displayed (mga#30332, mga#32185). +BEGIN { + $ENV{WEBKIT_DISABLE_COMPOSITING_MODE} = '1'; + $ENV{WEBKIT_DISABLE_DMABUF_RENDERER} = '1'; +} + use strict; use diagnostics; use lib qw(/usr/lib/libDrakX); -- cgit v1.2.1