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

[TextField, DragDetect] Can't select text with mouse if DnD events handlers are set for the TextField

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u6, 7u7
    • javafx
    • Java FX 2.2.1

      The case is you want to select text with mouse and drag it to another component.
      When you start to select text with mouse onDragDetected event handler gets activated and you cannot select text.

      Reproducible on Windows and Linux.
      Not a regression. Reproducible with 2.2.0 b14 and 2.2.0 b18.

      Netbeans project is attached. Run command: java -jar <jar from dist folder>

            Unassigned Unassigned
            vabetkin Vitalii Abetkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Imported: