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

Navigating through items on multi-selection list triggers ItemEvent on win32

XMLWordPrintable

    • x86
    • windows_2000, windows_xp

      Platform: Win XP only
      Release: since 1.4

      I have a multi-selection list with a pre-selected item. I am navigating through the items in the list by pressing the arrow keys. On Win32, I am getting an ItemEvent with Deselected state for every item I pass through even though I have neither selected nor deselected them. This functionality actually makes sense for single selection lists since navigating through the items does select the items. But for multi-selection list, mere navigation will not select / de-select the item.

      (Another issue here is that once the cursor reaches top most or bottom most item and when I keep the arrow key pressed, item events are being triggered continuously for that item)

      This is reproducible only on Win32 and not reproducible on Solaris / Linux. This occurs since 1.4.

      I have attached a sample test. Execute the sample test. Make sure list has the focus. Press the UP / DOWN arrow on the list and check whether an item event is triggered on the console for every press. If so, the bug is reproduced.
      ###@###.### 2004-11-05 12:08:39 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: