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

PRISM: MouseEvents are triggered incorrectly after a drag operation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • fx1.3
    • fx1.3
    • javafx

    Description

      1. Run the attached test.
      2. You will see a TextBox with a bunch of other controls.
      3. Select 'blocksMouse' checkbox.
      4. Click inside the TextBox and drag the mouse out. You will see mouse Dragged events on the console.
      5. Somewhere within the blue rectangle, release the mouse. You will see mouseReleased for text box.
      6. Now without moving the mouse, just keep clicking the mouse at the same position.

      You will notice that mouse pressed/released and clicked being triggered for the text box even though the mouse is not within the text box. Once you move the mouse, it becomes alright.

      I reproduced it on Prism - WinXP x64 - 6u14(32) - soma-graphics-scrum-b142. Not reproducible on swing pipeline.

      Attachments

        Activity

          People

            tdv Dmitri Trembovetski (Inactive)
            pmohan Praveen Mohan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: