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

PRISM: MouseEvents are triggered incorrectly after a drag operation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx1.3
    • Fix Version/s: fx1.3
    • Component/s: javafx
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: