summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-01-12 14:07:41 +0100
committerAxel Spoerl <axel.spoerl@qt.io>2023-01-21 17:04:14 +0100
commit7689d4ad2f673317af432aae498da74d13703126 (patch)
treea4cf024994e679a72c26c03247c1b43a8db6ef7d /tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt
parentb6224ec8fa68387af344fc1610b4932c9aed6143 (diff)
QWidgetTextControl: Ignore unconsumed mouse release events
QWidgetTextControlPrivate::mouseReleaseEvent() has early returns implemented, e.g. when link has been right clicked or no selection anchor has been found. These early returns, however, still consume the event. This leads to events getting lost instead of getting propagated: As an example, a QLabel with rich text uses QWidgetTextControl. While it propagates mouse press events back to its parent, mouse release events get lost. A QLabel with plain text propagates both events back correctly. This patch adds QEvent::ignore() to the early return. Since no test class exists for QWidgetTextControl, it adds a test in tst_QLabel. Fixes: QTBUG-110055 Pick-to: 6.5 6.4 Change-Id: I950f8c3f135793b01c59832835bb429db2282169 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel/qsystemsemaphore/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions