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.
There have been many reports or posts by people on this forum about losing their bitcoins after they used a public wifi on travel. So it is recommended that you keep you wallet on a private device and even when you have to use a public network, use it on another device.