diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-04-08 14:13:09 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-05-22 08:50:31 +0200 |
commit | 25ab8ada1019adf9e88addd47acb0924831edc5a (patch) | |
tree | c010536547001f4200bc8a52f26af95aeebbccc8 /src/widgets/styles/images/toolbar-ext-v.svg | |
parent | 423ae2de96360619b5233ecb6a0be56b61ec58a3 (diff) |
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>
Diffstat (limited to 'src/widgets/styles/images/toolbar-ext-v.svg')
0 files changed, 0 insertions, 0 deletions