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

REG: File Selection is failing for every second selection made in the FileDlg drop-down, XToolkit

XMLWordPrintable

    • b53
    • sparc
    • solaris_10
    • Verified

      I am running an application that opens up a file dialog. The dialog is defaulted with the current directory which is '/home/pm143956/AWTSamples'. I am clicking on the drop-down and selecting the second item in the drop-down which is '/home/pm143956'. Now I am clicking on the drop-down again and selecting the second item which is '/home'. This is not getting selected. The value in 'Enter path or folder name' still shows '/home/pm143956'. This happens for every second selection that I do. This does not depend on which folder is shown or selected. FileDialog fails for every second selection regardless of what path is displayed.

      This is reproducible only on XToolkit - Mustang b47. Not reproducible on b46. Hence this is a regression in b47.

      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 open up. Click on the drop-down. Click on the second item. This item becomes the first now. Click on the drop-down again. Try clicking the second item. You will notice that the previous selection is still retained in the 'Enter path or folder name' field.

            dcherepanov Dmitry Cherepanov
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: