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

FileDialog connection to /floppy and /cdrom broken on Solaris.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1 P1
    • None
    • 1.3.0
    • client-libs
    • generic
    • solaris_7


      Source code and script are attached. Edit the script for your environment.
      The FileDialog bug appears on both sparc and x86 Solaris platforms.

      Place a CD-ROM in your CD-ROM drive. Place a floppy disk in your floppy disk
      drive. Start the test. Click on the "Show File Dialog" button.

         -------------------------------------------
         | _popup |
         |------------------------------------------
         | Enter path or folder name: |
         |------------------------------------------
         |------------------------------------------
         || /home/ajacobs/tmp/FileDialogTests/ |*|| <<<< Click at the arrow to the
         |------------------------------------------ right of the ComboBox.
         | |

      Nothing happens. It's supposed to bring up the rest of the ComboBox allowing
      a choice of /cdrom, /floppy, and the current working directory (?). The
      specifications are no help here. But I think this part of the FileDialog
      is not working correctly.

      allan.jacobs@Eng 1999-10-20

      OK. The behavior is a little different from that described above. Clicking
      on the arrow sometimes causes the text to the left to jump to the user's home
      directory the first time the test is run.

      #1: I'm not an athlete and my coordination is gone, but I cannot get the jump
      to occur reproducibly.

      #2: My memory is that there was supposed to be a ComboBox for choosing
      locations and that two of those were /cdrom and /floppy. Nothing is written down
      about it. Or, maybe my memory has disappeared along with my athletic prowess.

      #3: Even if a jump to the user's home directory is the correct behavior, then the
      FileDialog can still be made to behave in a manner that I find inexplicable.
      Just add more interaction:

      (1) Start up the test. Click on the "Show File Dialog" button.
      (2) Click on the arrow key. This causes a jump to $HOME.
      (3) Click on the cancel button.
      (4) Click on the "Show File Dialog" button. The dialog is aimed at the current
          working directory, again.
      (5) Click on the arrow key. Nothing happens. Or is this just the intermittency
          problem again?

      My remaining points are not for public consumption. Please refer to the comments
      page.

      allan.jacobs@Eng 1999-10-21

            lbunnisunw Lara Bunni (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: