diff options
author | Kirill Burtsev <kirill.burtsev@qt.io> | 2022-05-05 13:52:32 +0200 |
---|---|---|
committer | Kirill Burtsev <kirill.burtsev@qt.io> | 2022-05-12 16:44:50 +0200 |
commit | 1f6495af6331f5504de9d3f7e43f5202345c7a8c (patch) | |
tree | 7b584ab2c2cc4edfca5b367410c369c7151eed96 /src/core/api/qwebengineregisterprotocolhandlerrequest.cpp | |
parent | 9334feb682db6e6e35bc98dce377a091eb640438 (diff) | |
download | qtwebengine-1f6495af6331f5504de9d3f7e43f5202345c7a8c.tar.gz |
Fix touch input for widget's delegate for html popup
Earlier fix cf8bc1899a introduced the logic, where all system
synthesized mouse events are ignored. But after c56169f7a1 this is
undesired since for widget with Qt::Popup flag touch input is
ignored by QWidgetWindow, and input is expected to be delivered to
popup as synthesized mouse event (either synthesized by Qt or for
capabable devices by system). So allow system synthesized mouse events
to let through for popup. Synthesis by Qt is suppress automatically
for accepted touch event, it's only system event are still delivered
unconditionally, so still ignore them for widgets impl. Global ignore
in core is not needed, since QQuickWidget ignores system synthesized
events unconditionally.
Fixes: QTBUG-79254
Pick-to: 5.15 6.2 6.3
Change-Id: Ie8f55eb8b9c2677d8a98381effb3cb31d9388ac7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Martin Negyokru <negyokru@inf.u-szeged.hu>
Diffstat (limited to 'src/core/api/qwebengineregisterprotocolhandlerrequest.cpp')
0 files changed, 0 insertions, 0 deletions