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

MouseWheel events not working properly for Choice, on Win32

    XMLWordPrintable

Details

    • x86
    • windows_xp

    Description

      I have a frame with few components and a choice. Focus is in text field when the frame is shown. I moving the mouse over choice and rotating the MouseWheel. I expect choice to scroll it's items in whichever directon I rotate the mouse wheel. But I am observing the following behavior:

      1. Choice moves the mouse cursor on the text field

      2. Lot of spurious key events are triggered for text field.

      Now when I click the choice and rotate the mouse wheel, items are scrolling but I still see lot of spurious key events for Choice. No key events must occur when rotating the mouse wheel and only the component below the mouse cursor should respond to mouse wheel rotations.

      This is noticed atleast since 1.4.2 only on Win32. Not happening on Linux.

      I have attached a sample test. Execute the sample test. Click on TextField and move the mouse over Choice. Rotate the mouse wheel. You would see text cursor moving in textfield and you would get lot of KEY_PRESSED events for TextField.

      ###@###.### 2005-04-11 12:24:08 GMT

      Attachments

        Activity

          People

            bagiras Oleg Pekhovskiy (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: