AT-SPI2: Popup menus attached to widget are not detectable
This is the cause of https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/696
If a menu is attached to a widget and shown using a popup function, it does not appear anywhere in the AT-SPI2 accessible tree.
Steps to reproduce
- Run the test program (will attach).
- Run Accerciser, and expand the test program in the tree.
- Right-click on the button in the test program to open a menu.
Current behavior
The menu does not appear in Accerciser.
Expected outcome
The menu should appear in Accerciser, either as a child of the button widget (which would gain the "showing" state when shown), or inside a new top-level window.
Version information
GTK 3.24.34-3ubuntu2 Ubuntu 22.10 (Kinetic)