object:state-changed event and/or state missing when certain Gtk+ widgets gain focus/selection
Submitted by Joanmarie Diggs (IRC: joanie)
Link to original bug (#711397)
Description
Created attachment 258916 Event listener
Steps to reproduce:
- Launch the attached accessible event listener in a terminal
- Open the gtk3-demo Combo boxes demo
- Press Tab to move amongst all the widgets
Expected results: Each time a GtkComboBox gains focus, an object:state-changed:focused event would be received.
Actual results: The first time each GtkComboBox gains focus, no object:state-changed:focused event is received. These events are received all subsequent times the widgets are Tabbed to.
Related: The first time each GtkComboBox gains focus, a focus: event is emitted. But since that event is deprecated....
Attachment 258916, "Event listener":
focused.py
Version: 3.10.x