qt5base-lts/tests/auto
Richard Moe Gustavsen e44edaac2c QWidget: use WA_InputMethodEnabled when ImEnabled is not implemented
In Qt 6.3, a check for WA_InputMethodEnabled was removed
in QWidget, to support IM queries also for read-only
widgets (7c6e4af48). This caused a regression on iOS, which
made the input panel open for widgets that didn't support
IM at all.

A patch was merged that solved the regression (3b12305575),
but it didn't take the widget attribute into account.
Since not doing so has the potential to cause regressions,
this patch will modify the affected code once more, so that
we instead fall back to test WA_InputMethodEnabled when
ImEnabled is not implemented. This will match closely
to the way ImEnabled was implemented in Qt 6.2.

Since we, with this change, now require that either ImEnabled
or WA_InputMethodEnabled is set, our own input widgets will
fail to support IM text selection when they're read-only, since
they actually don't implement ImEnabled.
This patch will therefore also make sure that we do so.

Task-number: QTBUG-104527
Pick-to: 6.4 6.3
Change-Id: I70ad910aec38d0a74f4dd7d3115d3c45c16d2b3b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-08 09:41:29 +02:00
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake Fix memory leaks 2022-06-15 23:58:16 +02:00
concurrent QtConcurrent: prevent conversion of ReduceOption to initial value 2022-05-20 17:11:15 +02:00
corelib Add support for scoped JNI callbacks 2022-07-07 13:35:08 +03:00
dbus Fix QDBusInterface crashing with empty path on construction 2022-06-27 14:02:47 +02:00
gui Revert "Apply ScaleFactorRoundingPolicy to QT_SCREEN_SCALE_FACTORS" 2022-07-07 14:47:14 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network tst_QSslKey: prepare for the migration to OpenSSL v3 2022-07-05 17:36:03 +02:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other unblacklist passing tests 2022 2022-06-23 01:36:01 +02:00
printsupport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
testlib qtestlib: exit with error if a test is invoked with unknown data tag 2022-06-28 18:06:33 +02:00
tools moc: Allow writing properties through bindables 2022-07-08 09:38:27 +02:00
wasm Port promise tests to qtwasmtestlib 2022-07-06 17:56:57 +02:00
widgets QWidget: use WA_InputMethodEnabled when ImEnabled is not implemented 2022-07-08 09:41:29 +02:00
xml Add QDom internalSubset implementation 2022-06-23 02:18:39 +08:00
CMakeLists.txt Only configure one test for wasm 2022-05-12 18:55:04 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00