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

Entries truncated in the drop-down if entries are longer than size of the file dialog, XToolkit

XMLWordPrintable

    • sparc
    • solaris_10

      Open a File Dialog. Choose a folder which is deeply rooted in the file system. Make sure the location selected is longer than the size of the file dialog. Click on the button located right next to the location text field. A drop-down would appear. Check the entries in the drop-down.

      On b73 -
      The drop-down gets resized according to the size of the location given in the text field and the entries are displayed to it's full length.

      On b93 -
      The drop-down size is fixed and the entries longer than the size of the location text field are truncated.

      This is reproducible only on XToolkit and not on Win32. This is a regression introduced in JDK6 between b73 and b93. I do not have the intermediate builds to verify where exactly it was introduced. It's hard to recognize the location entries without resizing the file dialog. I reproduced it on SolSparc10-JDS.

      I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons. Click on any of the buttons. A file dialog will be opened. Do what is given in the description.

            Unassigned Unassigned
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: