qt5base-lts/tests/auto
Volker Hilsheimer b58876c296 Windows: Inform accessibility system about the focused child item
When a complex object (i.e. one with children that are themselves not
fully exposed objects) gets focus, then we need to inform the
accessibility system about which child object actually has focus. This
was only done for item views, but not for other complex widgets.

An editable QComboBoxes is the focus proxy for its line edit. The line
edit never gets focus itself (QComboBox forwards relevant events),
and is the accessible child item with index 1. So when an editable
combobox gets focus, it needs to raise the automation event for the
line edit child.

Implement QAccessibleComboBox::focusChild to return the interface to the
lineedit for editable comboboxes so that the UI Automation bridge can
correctly notify about the focus being moved to an editable text input
field.

Fixes: QTBUG-107572
Pick-to: 6.4 6.2
Change-Id: Id60e2791ec859365255baa9bfd01547979cd2b44
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2022-11-11 10:21:32 +00:00
..
bic/data Add binary compatibility file generated against 6.4.0 2022-11-09 13:18:42 +03:00
cmake tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00
concurrent Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
corelib tests: fix build with -no-feature-concurrent 2022-11-09 20:33:49 +01:00
dbus Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
gui Fix type mismatch compiler warning in tst_QGlyphRun 2022-11-10 17:16:59 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Windows: Inform accessibility system about the focused child item 2022-11-11 10:21:32 +00:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
testlib Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
tools Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
wasm Fix typo in QWasmWindowStack's name 2022-10-20 16:36:23 +02:00
widgets Remove unused tst_qwidget_mac_helpers.h/mm 2022-11-10 13:31:01 +01:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00