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

Choice drop-down does not disappear when it loses focus, on XToolkit

    XMLWordPrintable

Details

    • b33
    • sparc
    • solaris_9
    • Verified

    Description

      I have an AWT application that popups a frame with a choice and a button. I am clicking on the choice and the menu drops down. Now I am pressing tab to move the focus to the next component and the focus moves to button. But the drop-down still remains and shown until the user clicks somewhere with the mouse. This is incorrect. The drop-down must disappear as soon as the focus is shifted to a different component.

      This is reproducible only on XToolkit since Tiger. On Motif, clicking TAB never transfers the focus when the drop-down is visible. On Win32, pressing tab makes the drop-down disappear. This is reproducible on Mustang-b26 also.

      I have attached a sample test. Execute the sample test on Solaris/ Linux. You would see a frame. Click on the choice. The drop-down will appear. Now press TAB. If the focus gets transferred to button and the drop-down is still shown, the bug is reproduced.
      ###@###.### 2005-03-13 16:32:26 GMT

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: