apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.1k stars 1.11k forks source link

CPVM: if special key is pressed down while window is closed, key is not release for next opening #9940

Open borisstoyanov opened 4 days ago

borisstoyanov commented 4 days ago
ISSUE TYPE
COMPONENT NAME
CPVM, noVNC 
CLOUDSTACK VERSION
4.19
CONFIGURATION

This has been reproduced with VMware, but it might be related to other hypervisors.

SUMMARY

Let's say someone hit's the 'Shift.Down' button in the session window, starts typing in upper case then close the window without depressing in the 'Shift.Down' button, upon next opening of the same session the button is displayed depressed but console still types with up case characters.

STEPS TO REPRODUCE
1. Open CP session to a guest VM
2. Press the 'Shift.Down' special key buttons on the side of the window (any other special key also ) 
3. Start typing and close the CP window
4. Open the same session again from Cloudstack
5. Observe that the button is displayed a depressed as default, but console still produces upper case characters. 
EXPECTED RESULTS
Special keys should be reverted to default and it should type lower case in this scenario 
ACTUAL RESULTS
upper case characters printer while key is depressed.