diff options
author | Tor Arne Vestbø <[email protected]> | 2025-05-22 17:27:55 +0200 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2025-07-17 16:07:57 +0000 |
commit | bb0c8bbf20fc1cdddd7e171260c4435f360e23d5 (patch) | |
tree | 8b0d2cc9a9e1c8fd9dd04efbcf5ef41f091cef34 /src/corelib/io/qfileinfo.h | |
parent | 70fa17fcb832f187bdaf0edad9cdcef32053e15f (diff) |
We only report the action if we have any actions to present.
For the other context menu policies we don't know if the user has
overridden contextMenuEvent or connected to customContextMenuRequested,
so we opt to not report the menu action in these cases. A user that
wants to present the menu action will have to subclass QAccessibleWidget,
override actionNames(), and install an accessible interface factory
that returns the specialized QAccessibleWidget.
As of now we do not report QAccessible::ActionChanged anywhere in Qt
when the conditions for actionNames() change, and this includes this
newly added behavior. Initial attempts at plumbing ActionChanged to
the macOS a11y system failed as there is seemingly no way to trigger
an update of this specific state, so this rabbit-hole has been left
for further investigations.
Pick-to: 6.10 6.9 6.8
Task-number: QTBUG-137126
Change-Id: I538df87603fbcae9ed2d9bcbb16f1de85a08f200
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/corelib/io/qfileinfo.h')
0 files changed, 0 insertions, 0 deletions