From 1d5f63b333b4595ab21cd17b24de9908473a415c Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Mon, 19 May 2014 13:47:12 +0200 Subject: Fix jerky pinch-zooming The kEnableScrollPrediction switch uses event timing to extrapolate events but this considerably reduces the smoothness of pinch-zooming. Assuming that this feature expects very well timed events, which we don't have in most of QPA platform plugins, disable the feature. Change-Id: I96bdd8b9e9cc870e232ad9c98bcad5857608870b Reviewed-by: Andras Becsi --- src/core/web_engine_context.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index b5ff11720..e9180bae5 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -145,7 +145,6 @@ WebEngineContext::WebEngineContext() parsedCommandLine->AppendSwitch(switches::kEnablePinch); parsedCommandLine->AppendSwitch(switches::kEnableViewport); parsedCommandLine->AppendSwitch(switches::kEnableViewportMeta); - parsedCommandLine->AppendSwitch(switches::kEnableScrollPrediction); parsedCommandLine->AppendSwitch(switches::kEnableSmoothScrolling); parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideo); parsedCommandLine->AppendSwitch(switches::kDisableAudio); -- cgit v1.2.1