[evolution] Bug 774067 - Webkit composer is very slow refresh when typing
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 774067 - Webkit composer is very slow refresh when typing
- Date: Tue, 15 Nov 2016 14:24:31 +0000 (UTC)
commit c1f799d4e0fc378039d4ce144969b4c7c62b9334
Author: Tomas Popela <tpopela redhat com>
Date: Tue Nov 15 15:19:48 2016 +0100
Bug 774067 - Webkit composer is very slow refresh when typing
Disable the accelerated compositing mode in WebKitGTK+ as we don't need
it at all in Evolution (definitely not in composer, but right now
disable it even for preview) and for some video drivers like vboxvideo
and modesetting there is a big performance hit.
src/shell/main.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/src/shell/main.c b/src/shell/main.c
index 3a5287c..693c396 100644
--- a/src/shell/main.c
+++ b/src/shell/main.c
@@ -590,10 +590,16 @@ main (gint argc,
g_object_unref (settings);
#endif
- /* FIXME WK2 - Look if we still need this it looks like it's not. */
- /* Workaround https://bugzilla.gnome.org/show_bug.cgi?id=683548 */
- if (!quit)
+ if (!quit) {
+ /* Until there will be a proper WebKitGTK+ API for disabling the
+ * accelerated compositing mode, we need to use the environment
+ * variable. See https://bugzilla.gnome.org/show_bug.cgi?id=774067 */
+ g_setenv("WEBKIT_DISABLE_COMPOSITING_MODE", "1", TRUE);
+
+ /* FIXME WK2 - Look if we still need this it looks like it's not. */
+ /* Workaround https://bugzilla.gnome.org/show_bug.cgi?id=683548 */
g_type_ensure (WEBKIT_TYPE_WEB_VIEW);
+ }
shell = create_default_shell ();
if (!shell)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]