gtk3-demo stops being accessible upon opening a GtkDialog via do_action "click" via Atspi
What is happening
When working with gtk3 application for example Evolution in my case. Where usage of GtkDialog is triggered by a call do_action "click" from Atspi, the application is no longer accessible. Once the opened dialog is closed, the connection is restored and application is once again accessible.
Steps to reproduce
-
$ gtk3-demo --run=dialog
. - In the demo call do_action on Message Dialog button to open a dialog.
Current behavior
Application stops being accessible until the dialog closes.
Expected outcome
Application continues to be accessible.
Version information
- RHEL-9 - gtk3-3.24.31-5.el9.x86_64
- Rawhide - gtk3-3.24.43-2.fc41.x86_64
Additional information
Attaching reproducer that opens dialog demo and executes do_action on the button. Let it run for a few iterations so that you can see the following:
Application name: 'ibus-extension-gtk3'
Application name: 'ibus-x11'
Application name: 'gnome-shell'
Application name: 'gsd-color'
Application name: 'gsd-keyboard'
Application name: 'gsd-power'
Application name: 'gsd-media-keys'
Application name: 'gsd-wacom'
Application name: 'gsd-xsettings'
Application name: 'seapplet'
Application name: 'xdg-desktop-portal-gtk'
Application name: ''
Once you close the dialog, the gtk3-demo will once again be accessible:
Application name: 'ibus-extension-gtk3'
Application name: 'ibus-x11'
Application name: 'gnome-shell'
Application name: 'gsd-color'
Application name: 'gsd-keyboard'
Application name: 'gsd-power'
Application name: 'gsd-media-keys'
Application name: 'gsd-wacom'
Application name: 'gsd-xsettings'
Application name: 'seapplet'
Application name: 'xdg-desktop-portal-gtk'
Application name: 'gtk3-demo'