Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8107025

Copy, Paste, and Cut key bindings are wrong on the Mac

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx1.1.1
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Mac OS X (10.5, others?)

      Description

      Copy, Paste, and Cut keybindings are wrong on the Mac.

      They are bound to the control key instead of the command key.

      i.e they are bound to control-c, control-v and control-x instead of command-c, command-v and command-x

      Run the following program and attempt to copy/paste/cut with the normal keyboard shortcuts and they do not work, using the "control" shortcuts work though.

      package copypastebug;

      import javafx.stage.Stage;
      import javafx.scene.Scene;
      import javafx.ext.swing.SwingTextField;

      /**
       * @author bill
       */
      Stage {
          title: "Application title"
          width: 250
          height: 80
          scene: Scene {
              content: SwingTextField {
                  columns: 10
                  text: "TextField"
                  editable: true
              }
          }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rbair Richard Bair
                Reporter:
                brobertsojfx Bill Robertson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: