Node.click() does not work for gtk4 apps
I am porting an app with a dogtail test suite to gtk4.
I can't get very far now with dogtail, because it wants to ask for the desktop-wide coordinates of a widget to interact with it:
self.queryComponent().getPosition(pyatspi.DESKTOP_COORDS)
But that causes gtk4 to just say the following and it returns coordinates that are relative to the window, not the desktop:
Screen coordinates not supported, reported positions will be wrong
Then dogtail clicks on the wrong part of the screen.
Is there a workaround? The GtkMenuButton widget does not appear to report any actions either (like click
or activate
that I could use...)