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

PIT:Spurious MouseMoved events are triggered by Tray Icon on Win32

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      I have added a TrayIcon to the SystemTray and I have added a mouse listener to it. When I right click inside the tray icon, a popup menu appears. I am clicking on one of the menuitems. The popup menu gets disposed. But once popup menu is disposed, I could see many MouseMoved events being triggered all referring to the same mouse location. This is reproducible on the given PIT build only on Win32. It works fine on Sol10-JDS.

      Here is the PIT build:
      java version "1.6.0-awt.pit-int-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-jcg-win-03-java2d_06_may_2005_09_06-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)

      I have attached a sample test. Execute the sample test on WinXP. You would see a tray icon in the system tray. Right click on the tray icon and click one of the items in the popup menu. Once popup menu is disabled, you would see many MouseMoved events being triggered on the console.
      ###@###.### 2005-05-10 15:45:10 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcherepanov Dmitry Cherepanov
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: