summaryrefslogtreecommitdiff
path: root/embed/ephy-embed-prefs.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-12-04 15:50:51 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-12-04 15:51:20 -0600
commit23d6eb98313c0e3fc76cd2c3159f21586f11b1ff (patch)
treec2a7d32be6d8a61520b0a044e2d5d8ac9d691ac9 /embed/ephy-embed-prefs.c
parent45ab6d7b390d46258ff7dfe3ee0469f66cded23f (diff)
downloadepiphany-23d6eb98313c0e3fc76cd2c3159f21586f11b1ff.tar.gz
Temporarily disable accelerated compositing mode
See #595
Diffstat (limited to 'embed/ephy-embed-prefs.c')
-rw-r--r--embed/ephy-embed-prefs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 9a61c5d2f..fda4f3f6a 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -435,6 +435,17 @@ ephy_embed_prefs_init (gpointer user_data)
"javascript-can-open-windows-automatically", TRUE,
NULL);
+ /* Accelerated compositing mode is pretty broken right now.
+ * Disable it entirely as a workaround for these bugs:
+ *
+ * https://bugs.webkit.org/show_bug.cgi?id=192230
+ * https://bugs.webkit.org/show_bug.cgi?id=192276
+ * https://gitlab.gnome.org/GNOME/gtk/issues/1401
+ *
+ * Of course this should be reverted when the bugs are fixed.
+ */
+ webkit_settings_set_hardware_acceleration_policy (webkit_settings, WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER);
+
for (i = 0; i < G_N_ELEMENTS (webkit_pref_entries); i++) {
GSettings *settings;
char *key;