summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2024-09-21 20:30:40 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2024-09-21 20:30:40 +0100
commit6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd (patch)
treeed45155bf5ac041e6316241812bf234f74b06fd7
parentde2a2b8c1727f320c502c659f4960c6e02ac6950 (diff)
downloadcontrol-center-6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd.tar
control-center-6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd.tar.gz
control-center-6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd.tar.bz2
control-center-6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd.tar.xz
control-center-6e1902789812a5b8fb9d3a2e4d5f3dba1d99b2bd.zip
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.
-rw-r--r--NEWS3
-rwxr-xr-xcontrol-center8
2 files changed, 11 insertions, 0 deletions
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);