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

Spurious mouse moved events are triggered when using animated images in the tray icon, Win32

XMLWordPrintable

    • x86
    • windows_xp

      Keeping the mouse on the tray icon for some time triggers spurious mouse moved events on Win32 especially when animated images are used in the tray icon. These events are triggered even though mouse is not at all moved inside the tray icon. This is misleading.

      This is reproducible on WinXP on all mustang builds. Not reproducible on XAWT. Not reproducible when non-animated images are used.

      I have attached a sample test. Execute the test as follows:
      'java SystemTrayTest animdog.gif'
      Click on the tray icon once. Bring the focus to the tray icon and press SPACE BAR. This would keep the mouse at the center of the tray icon. Wait for few sec. You would see many moused moved events being triggered repeatedly. Try pressing 'SPACE-BAR' few times if not reproduced the first time. Make sure you wait for 10 sec before pressing the space bar again.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: