ATSPI: Extents of GtkPopover don't account for position of the popover relative to its parent
The (window-relative) extents of GtkPopover
s don't seem to include the position relative to its parent widget. They look as if they are always considered to be placed at the top left corner of their parent widget.
This can best be observed with the context menu or the file rename popover in Nautilus, which both report the same coordinates, regardless of where the popover was opened. With GtkMenuButton
s on the other hand this is barely noticeable because there the parent widget is very small.
On GTK4 I have confirmed this to happen for both Wayland and X11.
(GTK3 seems to give wrong coordinates on Wayland as well, but they seem wrong differently, so I've filed #5149 for that)
Related: gnome-shell#5557 (moved)
Edited by Sebastian Keller