Issue with KVM Switch Causing VC to Freeze

Hi there, Yujie here.

I use a KVM switch so I can share a single mouse and keyboard across multiple workstations.
However, the display resolution of the workstations changes whenever I switch channels.

When that happens, VC becomes unresponsive if the application is not minimized.
(It works fine as long as it is minimized.)

Is there any way to prevent VC from becoming unresponsive?
I often start a simulation and then switch to another workstation to do other tasks.
I know it works fine if I remember to minimize VC before switching, but sometimes I forget, and then the program hangs and I lose time for nothing. XD

1 Like

This sounds like bit different way to trigger a known bug in Microsoft WPF (which VC uses for UI), which is caused by losing monitor due to sleep or hibernation and WPF not recovering from it when resuming. Minimizing the application before such switch is the only known workaround.

1 Like

Okay… it seems there’s nothing I can do about it. I’ll need to put a memo on the switch button. :sweat_smile: