Couldn't open emoji popover from textview context menu
On certain conditions, selecting "Insert Emoji" from from textview context menu doesn't popup the emoji popover.
How to reproduce:
- Open gtk4-widget-factory
- In page 2, select all text in the textview and delete (either right click delete or using backspace)
- Right click on textview and select "Insert Emoji"
Result:
The Emoji popover isn't shown and the following warning is printed to console:
Gdk-CRITICAL **: 16:35:29.200: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed