summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qrasterizer.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-01-14 12:32:47 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-20 18:20:14 +0000
commita48f500c3486a5df995be82ee39a6ed5585f8231 (patch)
treeaf0819e63735efadf076a9074e5666cad2b6869e /src/gui/painting/qrasterizer.cpp
parent90195292f93ed0c014974881cfe804258690e265 (diff)
iOS: ensure we close the edit menu when the user taps outside the input area
iOS used to close the edit menu automatically when the user tapped on the screen (even for menus shown explicitly using the UIMenuController API). Apperently this has now changed (probably as a part of [UIMenuController setMenuVisible:] being deprecated in iOS 13). So we now need to hide it explicitly. Because of this, we no longer close the edit menu if the user taps outside the input area. This patch will fix this by updating the logic in QIOSTapRecognizer to close the menu explicitly. There are some more details around when to show or hide the menu, which is commented on at the relevant places directly in the patch. Fixes: QTBUG-90332 Change-Id: I336e3f4003817b39c7abf63f963fde1f3ef87c20 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> (cherry picked from commit 427e639275be379e3577cd3b3c8a63a6b5e46d46) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gui/painting/qrasterizer.cpp')
0 files changed, 0 insertions, 0 deletions