summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mainwindows/menus
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-10-14 18:10:36 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-10-16 14:33:29 +0200
commit848e3855f922e56a156ab8275f45cfb7a361acb5 (patch)
treee4cc8efbbf6f7d56e7fce65a01038192ea84c067 /examples/widgets/mainwindows/menus
parent3007050db74705f14515908b3c20ef5d1963d895 (diff)
macOS: Don't require marked text before passing mouse down to input contextHEADdev
There are situations where the input context might want the event, even if there's no marked text, for example when long-pressing A with a US keyboard layout and getting the accent popup. In that case we want a press somewhere else in the input item to move the cursor, and commit the current preedit. This is the same approach as NSTextView has, always calling handleEvent, and in line with the recommendation from Apple: https://lists.apple.com/archives/cocoa-dev/2012/May/msg00539.html Pick-to: 6.2 Change-Id: Iff0861a4e604ab594d1ad4ccbb9367d8e0ffe4ef Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/mainwindows/menus')
0 files changed, 0 insertions, 0 deletions