When using a pop-up, focus is kept by the pop-up when the cursor is not on the pop-up, a UI click is stolen
Environment/Versions
- GIMP version: 2.99.17, built from master, commit f2681ac4
- Operating System: Linux
Description of the bug
When using a pop-up, focus is kept by the pop-up when the cursor is not on the pop-up.
Reproduction
Is the bug reproducible? Yes
Reproduction steps:
- Start GIMP, Create an image
- Activate the locks pop-up
- Move the cursor over to the Edit menu and click and release on Edit
- Pop-up closes
- Click on Edit to open the Edit menu
Expected result: Pop-up closes and Edit menu opens in a single click
Actual result: Pop-up closes, second click required
Additional information
Other dialogs do not become sticky and steal a user click like this. Same kind of issue when selecting a tool if the pop-up is active, tool button activates, then deactivates.
Same problem for all pop-ups.