"Broken accounting of active state for widget" during popovers on X11
Steps to reproduce
- Login to the Gnome desktop using X11.
- Open a GTK4 application which uses popovers such as gtk4-demo.
- Right click to activate popover menus until the warning shows.
Current behavior
Warnings occur when activating popover menus, and in some cases X errors.
Expected outcome
No warnings, no X errors.
Version information
4.4 on Ubuntu 21.10 on AMD hardware. 4.5 on Fedora 34 in VirtualBox.
Additional information
Stacktrace from Fedora 34 in VirtualBox of the issue:
Screencast from Ubuntu 21.10 .... showing this issue and another issue filed separately: