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

File drop-down field in FileDialog is not working properly on XToolkit

XMLWordPrintable

    • b35
    • sparc
    • solaris_9
    • Verified

      I am popping up a FileDialog and clicking the button right next to 'Enter path or folder name' field. A drop-down appears. Now press the down-arrow one by one. When the items are navigated, the respective item is getting removed from the drop-down and a forward slash is getting appended. So when selecting the last item ('/'), 2 items are shown as selected and keyboard navigation stops there. No further keyboard inputs are accepted. This is incorrect. No '/' must be appended everytime an item is removed.

      Now press 'ESC' and dispose the drop-down. Make sure you have selected '/'. Goto the folders list and double click on any of the folders listed there. Nothing happens. None of the files in that folder are getting loaded on the right.

      This is reproducible only on XToolkit and not on Motif, Win32. Reproducible on Tiger as well as Mustang(b26). File navigation is a basic feature and should work fine.

      I have attached a sample test. Execute the sample test. You would see a frame with a button. Click on the button. You will get a file dialog. Click on the button next to 'Enter folder name' field. A drop-down will appear. After this, there are 2 scenarios:

      1. Press the down arrow one by one. You will see a '/' being appended as soon as the current entry is removed. Keep pressing till the last entry is reached. Now the drop-down will stop responding to arrow keys.

      2. Press the up arrow. The cursor will directly go to the last entry ('/') and navigation will stop there. You will see 2 entries being selected at the same time.

      After trying one of the above, (keeping the selection as '/') try double-clicking any of the folders listed and you will not see the respective files being listed on the right. All these observations are on a SparcSolaris9 machine with GNOME and CDE (XToolkit).
      ###@###.### 2005-03-14 12:52:11 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: