qt5base-lts/tests/manual
Morten Sørvig e3b3c77d0e wasm: Improve wheel event handling
Always invert scroll deltas. This is what the code did
before, expect for on non-Safari macOS. There is no
need any "smart" code here: correct deltas are provided
by the native API regardless of macOS scroll direction
setting.

Reading webkitDirectionInvertedFromDevice is still useful
for certain use cases, such as 3D scene zooming or spinbox
value change, where upwards motion on the trackpad should
always correspond to "increment" regardless of scroll direction.
Propagate this to Qt using one of the handleWheelEvent()
overloads

Finally, we were sending pixel deltas as angle deltas;
fix by sending pixel deltas as well, but keep existing
angle delta behavior for compatibility.

Change-Id: I7a7104c30da057fefc0377816e551a9e7e2fa0e7
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: David Skoland <david.skoland@qt.io>
2022-05-24 03:10:10 +02:00
..
cmake/test_copy_file_if_different_command Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cocoa Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
corelib/tools Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
diaglib Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dialogs Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
embeddedintoforeignwindow Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
filetest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
foreignwindows Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
gestures Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
highdpi Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
inputmethodhints Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
keypadnavigation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
lance Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
markdown Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mkspecs Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
network_remote_stresstest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
network_stresstest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcursor Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qdesktopservices Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsitem Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicsitemgroup Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qgraphicslayout/flicker Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qhttpnetworkconnection Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qimagereader Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocale Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmetatype Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmimedatabase Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetconmonitor Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkaccessmanager/qget Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkinformation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkreply Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglcontext Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopengltextureblitter Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglwidget Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qopenglwindow/multiwindow Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qprintdevice_dump Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qscreen Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qscreen_xrandr Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qssloptions Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsslsocket Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstorageinfo Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsysinfo Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qt_poll Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtabbar Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtabletevent Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtbug-8933 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtbug-52641 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtexteditlist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtexttableborders Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtouchevent Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvulkaninstance Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidget_zorder Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
repaint Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
rhi Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
shortcuts Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
socketengine Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
startsystemmove Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
textrendering Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
touch Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
touchGraphicsItem Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
transientwindow Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
triangulator Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
unc Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
wasm wasm: Improve wheel event handling 2022-05-24 03:10:10 +02:00
widgetgrab Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
widgets Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
windowactivation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
windowchildgeometry Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
windowflags Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
windowgeometry Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
windowmodality Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
windowtransparency Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xcb_gl_integration Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xembed-raster Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xembed-widgets Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt xcb: support xrandr(1.5) monitor setup 2021-09-01 20:32:04 +02:00
manual.pro xcb: support xrandr(1.5) monitor setup 2021-09-01 20:32:04 +02:00