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

Unity, JTable cell editor, javax/swing/JComboBox/6559152/bug6559152.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 15, 16, 17
    • Fix Version/s: 17
    • Component/s: client-libs
    • Environment:

      Ubuntu 16.04 Unity (dual screen)

    • Subcomponent:
    • Resolved In Build:
      b07
    • OS:
      linux_ubuntu

      Description

      This test creates an editable JComboBox populated by JTable cell editor with 3 items. Originally, the first item is visible in the text field of the combo.
      Then robot hits VK_DOWN twice expecting that the first hit would open dropdown and the second would selects the second item in the list. This is the regular JComboBox behavior (see SwingSet2 for instance: it work just like this in all LaFs).

      What happens on Unity is, the dropdown opens but a selected, therefore a preselected, item is not 1st but 3rd (last added probably). The second keyboard hit does nothing, there's only 3 items.
      Test fails on Unity with jdk9 b111 and up to now.

      Note that on Ubuntu 14.04 with Xfce4 the test does pass.


      RULE "javax/swing/JComboBox/6559152/bug6559152.java" Exception java.lang.RuntimeException: Cannot select an item from popup with the ENTER key.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              yan Yuri Nesterenko
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: