summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qinputmethod.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-10-11 14:26:38 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2021-11-11 22:24:30 +0200
commit30276cec3d47f4f4fa847fea90214ec5c28d54ed (patch)
tree258e2dbd8c20da2bdf2717a53506cc8c721d0563 /src/gui/kernel/qinputmethod.cpp
parentaae4d52cbb79c61161271473ab5c3a1ba1086e01 (diff)
QIOSTextInputOverlay: listen for selection changes, also for Qt::ImReadOnly
The focus object can emit selection updates (e.g from mouse drag), and accept modifying it through IM when dragging on the handles, even if it doesn't accept text input and IM in general (and hence return false from inputMethodAccepted()). This is typically the case for read-only text fields. So we should listen for selection changes and enable handles also for this case (unless the IM hints tells us explicitly not to use handles/edit menu). Fixes: QTBUG-91545 Change-Id: I2855505fc229e954b2c43f5e11374e64bba7eb4e Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qinputmethod.cpp')
0 files changed, 0 insertions, 0 deletions