qt5base-lts/tests/auto/other
Michael Weghorn 5093e517b9 a11y: Keep current combobox entry in sync
When changing the selected index in a combo box,
also update the current index in the item view's
selection model right away, and don't delay this
until when the combobox popup gets shown in
QComboBox::showPopup.

This is needed to make sure that the selection
is properly exposed to the accessibility layer.

On the accessibility layer, QAccessibleComboBox,
the a11y implementation for the combobox, exposes
the entries in its list child
(s. QAccessibleComboBox::child) and Orca queries
the selected item when the combobox gets focus,
which didn't return the proper results earlier,
resulting in no or the wrong entry getting
announced.

Extend the existing combobox a11y tests
accordingly.

Pick-to: 6.6 6.5
Fixes: QTBUG-117644
Change-Id: Ia26de5eafd229f7686745a2fbe03fc1eb6a713f8
Reviewed-by: Liang Qi <liang.qi@qt.io>
2023-09-29 09:55:40 +00:00
..
android_deployment_settings Add test for the qt6_android_generate_deployment_settings CMake command 2023-08-23 16:21:57 +02:00
gestures tst_gestures: clean-up the BLACKLIST 2023-08-22 15:19:50 +00:00
languagechange CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
macgui Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
macnativeevents CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
macplist CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
networkselftest CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractitemmodelutils Silence compiler warning 2023-09-22 20:40:36 +02:00
qaccessibility a11y: Keep current combobox entry in sync 2023-09-29 09:55:40 +00:00
qaccessibilitylinux tst_QAccessibilityLinux: port away from Q_FOREACH 2023-08-09 23:57:21 +02:00
qaccessibilitymac CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qcomplextext CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qfocusevent CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qnetworkaccessmanager_and_qprogressdialog CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qobjectrace CMake: remove check for cxx11_future 2023-08-02 12:36:18 -07:00
qprocess_and_guieventloop CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qsharedpointer_and_qwidget CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qvariant_common Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sessionmanagement_macos Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
toolsupport CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
xkbkeyboard CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Disable android_deployment_settings test for non-standalone scenario 2023-08-25 18:37:23 +02:00