Qt 6.8.3 with BlackBerry 10 (QNX 8 / ARMv7) patches
 
 
 
 
 
 
Go to file
Shawn Rutledge d06047698c QWindowPrivate::forwardToPopup: fix QMenu touch press-drag-release
QMenu doesn't handle touch events, but depends on mouse synthesis.
QGuiApplicationPrivate::processTouchEvent() calls
QWindow::forwardToPopup(), which sends it to the popup window, which
sends it to QMenu. The inherited QWidget::event() calls
QEvent::ignore(). It's important for forwardToPopup() to return nullptr
when the event is not handled, so that processTouchEvent() goes on to
create the synth-mouse event and send it to processMouseEvent(), which
calls forwardToPopup() again, which QMenu::mouseMoveEvent() handles.
And we also follow the usual pattern that when an event is duplicated
for delivery (as a synthetic event, or just to remap it), the accepted
state of the original event must be updated to reflect whether or not
the cloned event was accepted.

QTabletEvents are handled similarly.

Amends e4ef0f03e6

Change-Id: I0c6c03452a5b952161c9898d84d2c17afa52fc95
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2024-05-31 16:35:52 -07:00
.github/workflows
LICENSES SQLite: Update identified license 2024-04-28 12:14:17 +02:00
bin cmake: Override generator for iOS projects to Xcode in qt-cmake.in 2024-03-18 22:34:48 +01:00
cmake CMake: Don't record provided targets for Qt6 package 2024-05-31 16:27:03 +02:00
coin coin: Ignore CTest exit code for Tart configs, unless module overrides 2024-05-29 20:12:44 +02:00
config.tests Add copyright and licensing to .cpp and .h files missing them 2024-05-28 09:47:01 +02:00
dist Remove dist/README 2024-02-29 15:35:57 +01:00
doc Android: Update Gradle to 8.7 and Android Gradle Plug-in (AGP) to 8.4.0 2024-05-24 06:37:13 +03:00
examples Android: cleanup AndroidManifest.xml files in examples 2024-05-23 17:52:21 +03:00
lib
libexec CMake: Allow building all examples as standalone just like tests 2024-03-14 11:44:16 +01:00
mkspecs qmake: Do not disable deprecation warnings for MSVC (C4996) 2024-05-28 20:19:14 +02:00
qmake Move QT_DISABLE_DEPRECATED_UP_TO and QT_WARN_DEPRECATED_UP_TO to header 2024-05-22 18:38:09 +02:00
src QWindowPrivate::forwardToPopup: fix QMenu touch press-drag-release 2024-05-31 16:35:52 -07:00
tests widgets: Use per-surface-format RHI support and compositor 2024-06-01 00:24:34 +02:00
util Revise Windows time-zone mapping to use proper IANA IDs 2024-05-30 20:28:55 +02:00
.cmake.conf Add preliminary support for Qt for visionOS 2024-04-18 05:00:57 +02:00
.gitattributes
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.lgtm.yml
.tag
CMakeLists.txt cmake: add _extra_files IDE target from heuristics 2024-04-12 08:36:01 +08:00
config_help.txt Change the -qpa configure argument logic 2024-05-14 20:48:12 +02:00
configure Change configure license 2024-02-02 15:23:02 +00:00
configure.bat configure.bat: Fix errors on Windows 2024-03-05 11:56:24 +01:00
configure.cmake Ensure that libzstd targets are promoted to global if they were found 2024-05-29 00:18:06 +02:00
dependencies.yaml
licenseRule.json Add license exception 2024-04-24 19:02:09 +02:00
qt_cmdline.cmake Remove superfluous entries from qt_cmdline.cmake 2024-05-03 18:42:37 +02:00