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

Pressing "Enter" key on JComboBox in MotifL&F doesn't hide the dropdown(popup).

XMLWordPrintable

      JAVA VERSION :
      ---------------
      java version "1.5.0_02-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-ea-b02)
      Java HotSpot(TM) Server VM (build 1.5.0_02-ea-b02, mixed mode)

      STEPS TO REPRODUCE :
      --------------------
      1. set the JAVA_HOME to the above mentioned java version.
      2. Compile and execute the test attached in MotifLookAndFeel.
      3. After executing the test do the following
      a. Type "Ci" in the textfield.
      b. Move to the ComboBox and click on it so that the dropdown(popup) is visible.
        c. Make sure that dropdown(popup) is visible and press "Enter". You can see that the dropdown(popup) is still visible. Whereas this is not the case in Metal, GTK and Windows L&F.

      Note :- This happens in Tiger fcs and Mustang b02, but it is not happening mustang b04 onwards. Bug is still reproducible in Tiger update release.

      EXPECTED BEHAVIOUR :
      ---------------------
      When the "Enter" key is pressed the dropdown(popup) should be hidden.

      ACTUAL BEHAVIOUR :
      ------------------
      When the "Enter" key is pressed the dropdown(popup) is not hidden (is still visible).
      ###@###.### 2004-11-09 11:54:58 GMT

            draskinsunw Daniel Raskin (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: