I can also confirm - it works in 1.20.14. The newest version is already available from https://sourceforge.net/projects/vcxsrv/files/latest/download (De-)focus events are fired correctly on window switch, causing PyCharm saving and loading file correctly.
I see the same behavior. I work with PyCharm (starting from WSL2 env). When I switch to another windows application, PyCharm does not understand that the application lost focus. Many bad things happens because of that: - the editor does not autosave document on defocus, - editor does not reload document if it was changed externally on reactivation of the application. Any ideas how to fix it?