-
Bug
-
Resolution: Won't Fix
-
P3
-
1.4.0, 1.4.1
-
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
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
- duplicates
-
JDK-4748166 Multi-Selection List is inconsistent across platforms for itemStateChanged()
- Closed