Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-475

Meta not properly set in keydown, nor properly reset in update_modifier_state

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: guacamole-common-js
    • Labels:
      None

      Description

      In the keydown event handler within keyboard.js, meta and other modifiers are set based purely on keycode, which may not be correct. The meta key tends to be key 91, but this also corresponds to the Windows key on Windows platforms. On such platforms, this causes Guacamole to set the meta flag on the keyboard, even though the key event reports the key identifier as "Win" and the "e.metaKey" flag is "false".

      In the update_modifier_state() function within keyboard.js, the state of meta is not properly cleared when key events report meta is no longer pressed, thus meta can be stuck down, particularly when using Windows-key shortcuts under Windows.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mike.jumper Michael Jumper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: