qt6-bb10/src/gui/accessible
Michael Weghorn 8f5b06f977 a11y: Use desktop file name as app's accessible ID
As the QGuiApplication::desktopFileName doc [1] says:

> This is the file name, without the full path or the
> trailing ".desktop" extension of the desktop entry that
> represents this application according to the freedesktop
> desktop entry specification.

Since the desktop entry represents the application, also
use the desktop file name for the accessible ID of the
application object.

This e.g. makes Okular's application object report an
accessible ID of "org.kde.okular" instead of just "QApplication"
as the AT-SPI2 AccessibleId property on Linux.

[1] https://doc.qt.io/qt-6/qguiapplication.html#desktopFileName-prop

Change-Id: I554da7baaf817866db9044128f73a9ea634cddbf
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 13b4075093866a497e620bdd388afaf8aa0bc962)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-10 04:31:21 +00:00
..
linux a11y atspi: Map QAccessible::Border to AT-SPI2 panel role 2024-08-17 18:11:00 +00:00
qaccessible.cpp QAccessible: rename AnnouncementPriority to AnnouncementPoliteness 2024-06-18 21:12:18 +00:00
qaccessible.h Clean up QAccessible based on header review comments 2024-06-18 21:12:25 +00:00
qaccessible_base.h Accessibility: remove compatibility alias for AnnouncementPoliteness 2024-06-19 14:14:37 +00:00
qaccessiblebridge.cpp Add -Wweak-vtables to headersclean 2024-05-19 15:56:17 +00:00
qaccessiblebridge.h Add -Wweak-vtables to headersclean 2024-05-19 15:56:17 +00:00
qaccessiblebridgeutils.cpp Add Identifier role to QAccessible and use it in OS interfaces 2024-06-01 22:58:20 +02:00
qaccessiblebridgeutils_p.h Add Identifier role to QAccessible and use it in OS interfaces 2024-06-01 22:58:20 +02:00
qaccessiblecache.cpp QAccessibleCache: Generalize macOS-specific hooks to all Apple platforms 2024-06-04 13:42:16 +00:00
qaccessiblecache_mac.mm QAccessibleCache: Generalize macOS-specific hooks to all Apple platforms 2024-06-04 13:42:16 +00:00
qaccessiblecache_p.h QAccessibleCache: Generalize macOS-specific hooks to all Apple platforms 2024-06-04 13:42:16 +00:00
qaccessibleobject.cpp a11y: Use desktop file name as app's accessible ID 2024-09-10 04:31:21 +00:00
qaccessibleobject.h Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qaccessibleplugin.cpp Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qaccessibleplugin.h Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qplatformaccessibility.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qplatformaccessibility.h Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00