Force-closing a modal window with a popover open makes the main window unresponsive
Steps to reproduce
- Open a modal window with a popover
- Open the popover
- Close the modal window with Alt+F4 before closing the popover
- Try and interact with the initial window
Current behavior
The main window does not retrieve focus from the popover and becomes unresponsive.
Expected outcome
The main window continues to be responsive.
Version information
GTK 4.10
Fedora Linux 38
Additional information
Example