Details

    • Type: Defect
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.9.3
    • Component/s: guacamole-common-js
    • Labels:
      None
    • Sprint:
      DEV 2014-09-26

      Description

      When AltGr is pressed within Windows, this is translated to Ctrl+Alt. Much of guac is written to handle this, but the following recent addition renders those changes ineffective:

      var keypress_unlikely =  guac_keyboard.modifiers.ctrl
                            || guac_keyboard.modifiers.alt
                            || guac_keyboard.modifiers.meta
                            || guac_keyboard.modifiers.hyper;
       
      if (keypress_unlikely && e.keyIdentifier)
          keysym = keysym || keysym_from_key_identifier(e.keyIdentifier, location);

      This is because when Ctrl+Alt is being pressed AND it's being pressed as a substitute for AltGr, we CAN expect a keypress event, and in fact must rely on the keypress, as e.keyIdentifier is unreliable here. Only keypress will have the correct key.

      There is no way to distinguish between Ctrl+Alt used as AltGr and Ctrl+Alt used with a keyboard lacking AltGr other than the presence/absence of keypress. All keydown/keyup events are otherwise completely identical.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: