-
Bug
-
Resolution: Fixed
-
P3
-
6, 7
-
b03
-
generic
-
generic, windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2165549 | 6-pool | Mikhail Lapshin | P3 | Closed | Won't Fix |
JComboBox not behaving properly with mouse move.
Steps to reproduce:
------------------
1) Open SwingSet2
2) Go to ComboBox demo
3) Click on Second combo to get a drop down. Philip is selected.
4) Now without clicking mouse move it over to first item.
5) Notice that the selection has changed to first item (Jeff will be selected).
6) Now press down arrow key. You will see Scott as selected.
I think this is not correct. The selection should change to the next item in the combo when down arrow key is pressed, this how native windows ComboBox work.
###@###.### 2005-03-04 12:30:22 GMT
From duplicate bug 6433300:
---
The bug is in the inconsistence between selected item by mouse and by UP/DOWN keys in JComboBox's popup menu.
To see the bug:
1. Get focus in any ComboBox (for example, in Bugster)
2. Open popup by pressing the DOWN key
3. Place mouse cursor over an unselected item in the popup. Note that the item is highlighted now.
4. Press DOWN or UP key and note that cursor has moved to a wrong item.
See automated regression test in the attachment.
---
Steps to reproduce:
------------------
1) Open SwingSet2
2) Go to ComboBox demo
3) Click on Second combo to get a drop down. Philip is selected.
4) Now without clicking mouse move it over to first item.
5) Notice that the selection has changed to first item (Jeff will be selected).
6) Now press down arrow key. You will see Scott as selected.
I think this is not correct. The selection should change to the next item in the combo when down arrow key is pressed, this how native windows ComboBox work.
###@###.### 2005-03-04 12:30:22 GMT
From duplicate bug 6433300:
---
The bug is in the inconsistence between selected item by mouse and by UP/DOWN keys in JComboBox's popup menu.
To see the bug:
1. Get focus in any ComboBox (for example, in Bugster)
2. Open popup by pressing the DOWN key
3. Place mouse cursor over an unselected item in the popup. Note that the item is highlighted now.
4. Press DOWN or UP key and note that cursor has moved to a wrong item.
See automated regression test in the attachment.
---
- backported by
-
JDK-2165549 JComboBox not behaving properly with mouse move
-
- Closed
-
- duplicates
-
JDK-6433300 JComboBox: inconsistence between selected item by mouse and by UP/DOWN keys in ComboBox's popup menu
-
- Closed
-
- relates to
-
JDK-6624064 Regression test fails: test/closed/javax/swing/JComboBox/6236162/bug6236162.java
-
- Resolved
-
-
JDK-6629084 Regression test fails: test/closed/javax/swing/JComboBox/6236162/bug6236162.java
-
- Closed
-