-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b79
-
sparc
-
solaris_10
-
Verified
I have a frame with a choice and a button. On Clicking the button, I am toggling the focusability of Choice. I am clicking on the button and making the choice non-focusable. After that, I am clicking on choice and the drop-down becomes visible. Now when I press the arrow keys, selection happens perfectly in the drop-down and Item Events are triggered. This is incorrect. Choice is not supposed to respond to keyboard inputs when it is non-focusable.
This is reproducible only on XToolkit and not on Win32. It is not reproducible on Mustang-b32 but reproducible on b42. So it is a regression introduced inbetween b32-b42.
I have attached a sample test. Execute the sample test. Click on the button. Click on the choice. Now press UP, DOWN arrow keys. If the selection changes in the drop-down, the bug is reproduced.
This is reproducible only on XToolkit and not on Win32. It is not reproducible on Mustang-b32 but reproducible on b42. So it is a regression introduced inbetween b32-b42.
I have attached a sample test. Execute the sample test. Click on the button. Click on the choice. Now press UP, DOWN arrow keys. If the selection changes in the drop-down, the bug is reproduced.
- relates to
-
JDK-6239938 Choice drop-down does not disappear when it loses focus, on XToolkit
-
- Closed
-
-
JDK-6235563 XAWT unfocusable Choice doesn't receive KeyEvents
-
- Closed
-