summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2023-01-10 09:44:27 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2023-01-12 08:04:35 +0000
commitc69b00df8513237dc5a14f399eeb9b6d624d84f3 (patch)
tree56a1e316138f6782d56c3cf015906fc651923af4 /tools
parentc105706beae51fd785275206061b9fe1303658ed (diff)
downloadqtwebengine-c69b00df8513237dc5a14f399eeb9b6d624d84f3.tar.gz
Avoid scaling mouse movement properties on High DPI screens
ui::TranslateAndScaleWebInputEvent() scales movementX/Y if the input event is not raw. It is not exactly clear what is the expected behavior and browsers handle movementX/Y scaling differently. W3C states that currentEvent.movementX = currentEvent.screenX - previousEvent.screenX which is not true with scaling. This is a workaround for https://crbug.com/907309 This fixes tst_QWebEnginePage::mouseMovementProperties auto test with QT_SCALE_FACTOR=2. Pick-to: 6.5 Change-Id: I6d1fd591ec2bbeb22c448772c367b59509244491 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions