Popover window focus tracking broken on wayland
When an application has a popup open, and you switch to another application, then the popup remains open. This is already somewhat weird but maybe intended. However, if you then click on the popup, then the window does not re-focus.
Steps:
- Open e.g. gedit, press the "Open" button to open the popup
- Click on another application
- Popup remains open
- Click on popup, nothing happens
- Use Alt+Tab to cycle back
- You are back in the popup and can edit again
The focusing works fine when running gedit using WAYLAND_DISPLAY= gedit
. Note that activating items inside the popup also works.