Accessible caret-moved events no longer fired when arrowing in text fields
Steps to reproduce:
- Run this script in a terminal:
#!/usr/bin/python3
import pyatspi
def listener(e):
try:
if e.source.getRole() == pyatspi.ROLE_TERMINAL:
return
except:
return
print(e)
pyatspi.Registry.registerEventListener(listener, "object:text-caret-moved")
pyatspi.Registry.start()
- Press F2 to get into the Run dialog
- Type some text and arrow around
Expected results: The listener would print out caret-moved events.
Actual results: The listener does not print out caret-moved events.
Impact: Orca says nothing when one arrows in the Run dialog.
Notes: Something similar can be seen in the Overview's search. There, caret-moved events seem to be emitted when one inserts text (though the offset is always -1, which is broken). BUT there, too, there are no caret-moved events from arrowing.
This is definitely a regression. But I am not sure when it was introduced. Sorry!
I'm currently using gnome-shell v46.beta in Fedora 39 with Fedora 40 packages installed.
@fmuellner: Any ideas? Thanks in advance!