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

Win: Invalid Drag Events fired when Context Menu is shown

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      JavaFX 2.2 b17
      OS: Win XP 32-bit

      Description

      In my application, I found out strange behavior: as soon as I click on a ComboBox and the context menu is shown, when I click outside of it: MouseDragged events are produced instead of MousePressed Events


      I attached a sample testcase. Steps to reproduce:

      Run the sample(standalone/applet - doesn't matter)
      1. Click in the empty space around the combo box: result MousePressed event is produced - which is correct
      2. Click on the ComboBox so that the context menu is shown. Now click again in the empty space - MouseDragged event is fired instead of MousePressed


      I tried win and ubuntu. The problem is reproducible under Windows.

        Attachments

          Activity

            People

            • Assignee:
              anthony Anthony Petrov (Inactive)
              Reporter:
              kiriljfx Kiril (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: