jlaundry / TypeClipboard

MIT License
45 stars 12 forks source link

Typing in VMware "Launch Web Console" #6

Open beremour opened 3 weeks ago

beremour commented 3 weeks ago

I am using Microsoft Edge to open VMware virtual machine console in VCenter with "Launch Web Console". Typing not working in it.

jlaundry commented 4 days ago

Sorry for the delay @beremour - I was able to confirm the issue, but I don't have any obvious solutions.

It looks like partly an Edge issue, partly a VMWare issue - in Developer Tools console, there are a bunch of "onKeyUp: Fail to find the vScanCode for" errors.

image

Diving into vmks.js, the issue is that when Edge receives the event and populates the key and keyCode, but not the code value. VMWare expects the code, and without it, returns before sending any further events into the guest.

image

This doesn't affect Firefox, because Firefox receives the code:

image