Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keymap support for WebMKS remote consoles #3442

Merged
merged 1 commit into from
Mar 1, 2018

Conversation

skateman
Copy link
Member

I looked into the VMware HTML Console Programming Guide and on page 8 found that WebMKS has support for key mapping between a few keyboard types. It is not a universal solution, but solves the problem of special characters if both the VM's and the client's keyboard layout is one of the supported keyboards.

screenshot from 2018-02-21 13-44-48

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1545927

@bmclaughlin can you test this please?
@miq-bot add_label gaprindashvili/yes, fine/yes, bug, consoles

@@ -28,6 +28,11 @@
$('#ctrlaltdel').on('click', function() {
wmks.sendCAD();
});

$('#keymap').on('change', function() {
console.log(this.value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the log here intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes @mzazrivec testing your review skills 😉

@miq-bot
Copy link
Member

miq-bot commented Feb 22, 2018

Checked commit skateman@45b897b with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@mzazrivec
Copy link
Contributor

@bmclaughlin Could you test this one please? Thank you.

Copy link
Contributor

@bmclaughlin bmclaughlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, appears to work as expected. Tested in Firefox, Chrome, Safari, IE.

@mzazrivec mzazrivec added this to the Sprint 81 Ending Mar 12, 2018 milestone Mar 1, 2018
@mzazrivec mzazrivec merged commit 30a591b into ManageIQ:master Mar 1, 2018
@skateman skateman deleted the webmks-keymap branch March 1, 2018 07:38
simaishi pushed a commit that referenced this pull request Mar 8, 2018
Add keymap support for WebMKS remote consoles
(cherry picked from commit 30a591b)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553329
@simaishi
Copy link
Contributor

simaishi commented Mar 8, 2018

Gaprindashvili backport details:

$ git log -1
commit b550dd622f96d13b124da4d8d5bd69a8b70cd646
Author: Milan Zázrivec <[email protected]>
Date:   Thu Mar 1 07:12:54 2018 +0100

    Merge pull request #3442 from skateman/webmks-keymap
    
    Add keymap support for WebMKS remote consoles
    (cherry picked from commit 30a591ba15c02097836f471737651fc89236b3c4)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553329

simaishi pushed a commit that referenced this pull request Apr 10, 2018
Add keymap support for WebMKS remote consoles
(cherry picked from commit 30a591b)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553331
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit 05e5dd8b8de1e2b09dd3343718b5542a37bb329f
Author: Milan Zázrivec <[email protected]>
Date:   Thu Mar 1 07:12:54 2018 +0100

    Merge pull request #3442 from skateman/webmks-keymap
    
    Add keymap support for WebMKS remote consoles
    (cherry picked from commit 30a591ba15c02097836f471737651fc89236b3c4)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants