This is a hypothetical question. I am wondering, can my desktop wallet be hacked if I log into an unsecured WiFi hotspot even if I do not log into my bitcoin desktop wallet? I am wondering because I travel a lot, and when travelling I sometimes log into coffee shop WiFi hotspots. I don't keep a lot of funds on the desktop but I'm wondering about this.
Do not you know that you must not (!) use any unsafe Wi-Fi connection, especially when you deal with cryptocurrency? You can be easily hacked and the keys can be stolen without any effort of hackers! Check your computer with Antivirus program now - do it urgently.
And always use VPN!