qt6-bb10/tests/auto/widgets/kernel
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
..
qaction Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qactiongroup Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qapplication BLACKLIST tst_QApplication::sendEventsOnProcessEvents for Ubuntu 22.04 2022-06-20 20:06:20 +03:00
qboxlayout QLayout: add className() to a warning message 2022-07-01 18:19:46 +00:00
qformlayout QLayout: add className() to a warning message 2022-07-01 18:19:46 +00:00
qgesturerecognizer xcb: Delete touch points without target windows 2022-05-20 10:26:18 +02:00
qgridlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qshortcut Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsizepolicy Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstackedlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtooltip Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidget QWidget: use WA_InputMethodEnabled when ImEnabled is not implemented 2022-07-08 09:41:29 +02:00
qwidget_window Harden drag and drop handling in widget window 2022-07-01 22:38:45 +00:00
qwidgetaction Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetmetatype Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetrepaintmanager Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetsvariant Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwindowcontainer Fix separate delete of window and windowcontainer 2022-05-23 21:25:46 +02:00
CMakeLists.txt Android: activate tst_QWidget 2022-03-29 13:56:14 +01:00