Closing some dialogs messes focus
How to replicate on Xubuntu 21.04 (you can use a live session):
- Open mousepad
- Click on Edit menu
- Preferences
- At the bottom open the font setting dialog
- Now close this dialog
The focus goes to mousepad main window, instead of the preferences dialog.
This issue is all over the place, not just mousepad and not just font dialog. Basically every time there's a main window with some preference dialog open and you open another dialog from inside this preference dialog. It doesn't even have to be a Xfce dialog; Nvidia X Server Settings for instance is also affected.