Context menu isn't aligned with the text cursor when pressing keybinding
This issue was found in GtkLabel
, GtkEntry
. GtkTextView
doesn't seam to be effected.
Steps to reproduce
- Open gtk4-widget-factory
- Enter some text to the
comboboxentry
(GtkEntry in the upper left corner, but all entries have the same issue.) - Press context menu button
Current behavior
The context menu is shown at the beginning of the GtkEntry
Expected outcome
I would expect that the context menu is shown at the location of the text cursor. Similar to how the context menu is shown at the mouse cursor location on right click.
Version information
gtk-widget-factory: 4.1.1 gtk 4.1.1 Fedora silverblue wayland