qt6-bb10/tests/auto/other
Michael Weghorn 25ab8ada10 a11y: Notify of name change when setting window title used as a11y name
When no explicit accessible name is set for a window,
QAccessibleWidget::text uses the window title instead for a
non-minimized window.

Send a QAccessible::NameChanged event when changing the
window title results in a change of the accessible name,
to ensure that the AT-SPI cache on Linux gets updated.

Extend tst_QAccessibility::mainWindowTest() to cover the scenario as well.

Note: The entire test function is skipped on platforms not supporting
window activation, e.g. Wayland.

Fixes: QTBUG-124192
Change-Id: I0fa7f683fb5969d6ba9878f6a506c4f192069799
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2024-05-22 08:50:31 +02:00
..
android_deployment_settings Android:CMake: Add QT_ANDROID_PACKAGE_NAME property 2024-05-16 16:40:55 +03:00
gestures Change license for tests files 2024-02-04 09:56:42 +01:00
languagechange Change license for tests files 2024-02-04 09:56:42 +01:00
macgui Change license for tests files 2024-02-04 09:56:42 +01:00
macnativeevents Change license for tests files 2024-02-04 09:56:42 +01:00
macplist Change license for tests files 2024-02-04 09:56:42 +01:00
networkselftest Change license for tests files 2024-02-04 09:56:42 +01:00
qabstractitemmodelutils Change license for tests files 2024-02-04 09:56:42 +01:00
qaccessibility a11y: Notify of name change when setting window title used as a11y name 2024-05-22 08:50:31 +02:00
qaccessibilitylinux Change license for tests files 2024-02-04 09:56:42 +01:00
qaccessibilitymac Change license for tests files 2024-02-04 09:56:42 +01:00
qcomplextext Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qfocusevent tst_QFocusEvent::checkReason_ActiveWindow() remove setActiveWindow() 2024-04-23 09:26:08 +02:00
qnetworkaccessmanager_and_qprogressdialog Change license for tests files 2024-02-04 09:56:42 +01:00
qobjectrace Change license for tests files 2024-02-04 09:56:42 +01:00
qprocess_and_guieventloop Change license for tests files 2024-02-04 09:56:42 +01:00
qsharedpointer_and_qwidget Change license for tests files 2024-02-04 09:56:42 +01:00
qvariant_common Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
sessionmanagement_macos Change license for tests files 2024-02-04 09:56:42 +01:00
toolsupport tst_toolsupport: make the i386 case really about i386 2024-03-06 11:09:16 +01:00
xkbkeyboard Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt CMake: Remove mention of tests/auto/other/atwrapper 2024-05-11 18:32:29 +02:00