summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2018-02-15 15:45:51 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2018-04-04 08:53:35 +0000
commitab7d48625aed1c1bb56148f57f958371e810cf4c (patch)
tree1a934dffbffb0dd75d065367296be841527831d3 /src/corelib/global
parentc53b86444ff871801e00e09232dde2d7de4a435b (diff)
Fix read-only text browser sometimes jump to the top of the document
Respect the inputMethodAccepted() attribute of QPlatformInputContext in the ibus input context plugin. This is what for example the windows input context plugin does, too. A text browser that is read-only should not receive input method events that include a cursor placement. So when it receives the focus, we must only convey the received-focus information to the input method if the widget is editable (or accepts input method events generally speaking), because as soon as the ibus process learns about it, it will send an input method event that looks like a "let us reset the state a clean start and place the cursor at the beginning" message. We are not interested in reaching that state with the ibus process. Task-number: QTBUG-63066 Change-Id: I1b0e5f8a396bc31169d6081f9325092b447cf60a Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/global')
0 files changed, 0 insertions, 0 deletions