The author experienced intermittent WiFi connection issues with high latency spikes, which were resolved after discovering that the digital painting software MediBang Paint Pro was causing the issue due to a bug in the Qt5 network library. The bug causes the software to query registry keys for network interfaces, resulting in WiFi lag spikes. The issue was fixed by setting an environment variable to disable the problematic behavior. The author had tried various other solutions, including changing WiFi adapters and channels, before discovering the root cause.