Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-586

Alt+A in Polish locale incorrectly selects all text

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.2, 2.0
    • wtk
    • None

    Description

      Right Alt+A (Alt Gr) is a key which simulates Ctrl+Left Alt (see history section in http://en.wikipedia.org/wiki/AltGr_key). This causes all text to be selected when the Polish special character "ą" is entered.

      TerraTextInputSkin defines "select all" as <command key>+A:

      ...
      } else if (keyCode == Keyboard.KeyCode.A
      && Keyboard.isPressed(commandModifier)) {
      ...

      On Windows, the command key is Ctrl. The isPressed() method uses a bitmask, so it returns true for the Ctrl+Left Alt case which Alt Gr generates. It should instead check if CTRL is the only modifier pressed at the moment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gbrown Gregory K. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: