Bug 1262858

Summary: HTML5 console keyboard mapping
Product: Red Hat CloudForms Management Engine Reporter: Martin Welk <mwelk>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, dclarizi, hkataria, jhardy, jprause, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1266137 (view as bug list) Environment:
Last Closed: 2015-12-14 15:15:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1266137    

Description Martin Welk 2015-09-14 13:39:02 UTC
Description of problem:
Keyboard mappings for different countries' keyboard layout don't work well in the HTML5 console in CFME.

I have my keyboard set to german layout ("de"). I have virtual machines (on VMware) that I manage through CFME. I open the HTML5 console to one of these machines (I tried RHEL 7.1 and Windows 2012).
Special characters aren't interpreted correctly on the virtual machine.
VMs are always set to german key mapping.

When I switch my local keyboard to US, the key mappings work well.

Version-Release number of selected component (if applicable):
- CFME 5.4.0.5.20150605150206_7daa1a8
- workstation: Chrome 45, Firefox 40 on Fedora 22
- VMware VI 5.5 (vCenter, ESXi hypervisors)
- Should also be verified with Windows desktops!

How reproducible:
- always

Steps to Reproduce:
- Connect to RHEL 7.1 VM with boot option keymap=de
- or connect to Windows 2012 VM with german keyboard mapping
- Set workstation's keyboard to "de"
- Try special characters like ,.-;:_äöü#+()=?
- Try the same with workstation's keyboard set to "us"


Actual results:
Some examples:
, works
. works
- shows a ẞ (german eszet)
- Umlauts don't work at all (äöü)
- Shift-8 gives ) instead of (
- Shift-9 gives = instead of )
- Shift-0 doesn't work
- Shift-ß gives = instead of ?
- /*-+ on numerical keypad give wrong results

Expected results:
- virtual machine receives key actions as they are typed in on the local machine

Additional info: