Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3522

keyStrokeAction shouldn't presume text is a shortcut

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.7-beta-1
    • Swing
    • None

    Description

      The following code is meant to call the tweet action when the user presses ENTER

      keyStrokeAction(component:tweetBox, keyStroke:"ENTER", action: controller.tweetAction)
      

      But instead the SwingBuilder binds the action to (on windows) CTRL+ENTER and (on mac) Opt+ENTER. This is suprising. If the user wants them to be shortcuts then they would sepecify keyStroke:shortcut("ENTER")

      Attachments

        Activity

          People

            aalmiray Andres Almiray
            shemnon Daniel Ferrin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: