Mac: [DnD] mac and win has different behavior in part of transfer mode.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 8
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None
    • Environment:

      2.2.0b08. Win7, MacOsX.7

      Could you review the situation with next test case:
      http://ipg-jets.us.oracle.com/JavaFX/javafx-drafts/2.0/drag_drop/hellodraganddrop.zip

      There is a code:
      source.setOnDragDone(new EventHandler <DragEvent>() {
                  public void handle(DragEvent event) {
                      /* the drag-and-drop gesture ended */
                      System.out.println("onDragDone");
                      /* if the data was successfully moved, clear it */
                      if (event.getTransferMode() == TransferMode.MOVE) { //Here
                          source.setText("");
                      }
                      
                      event.consume();
                  }
              });

      On windows Transfer mode is Move, and on Mac - Copy. Is everything right here?

            Assignee:
            Petr Pchelko (Inactive)
            Reporter:
            Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: