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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u6, 7u7
    • Fix Version/s: tbd
    • Component/s: javafx
    • Environment:

      Java FX 2.2.1

      Description

      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>

        Attachments

          Activity

            People

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

              Dates

              • Due:
                Created:
                Updated:
                Imported: