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

REG: Non-focusable choice responds to keyboard inputs when drop-down is active, XToolkit

XMLWordPrintable

    • 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.

            dav Andrei Dmitriev (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: