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

JFileChooser on Vista: "User" directory not shown properly

    XMLWordPrintable

    Details

      Description

      Original description follows this update.

      Content of user folders not shown correctly when browsed from desktop.

      - Using Windows Explorer, browse to c:\users\<username>
      - Create a few files and folders.
      - Open JFileChooser
      - From the desktop, select <username>
      - Notice that none of the folders or files you created are there. (just defaults)

      This also results in the following observed behavior:

      Original description:
      -----------------------------
      New Folder created inside "User" directory in Vista is not visible in metal,windowsL&F FileChooserUI
      Open FilChooserDemo in Metal/Windows L&F.

      1)Double Click to traverser into the "User" directory.
      2)Click on the "Create a New Folder" Icon.
      Expected behavior :
      1)A new Folder is created
      2)The New Folder appears in the JFileChooser UI with the File name in editable mode.
      Actual behavior:
      1)New Folder is created
      2)The New Folder DOES NOT appear in the JFileChooser UI.
      Open the folder in the native windows explorer and you can see that the fle is created.

      Try repeating the above and the same result is seen.
      This behavior is seen only when you double click on the user directory from the desktop.
      If you traverse to directory through the full path, i.e., c:\Users\user then the New Folder is visible.

      Reproduced on mustang b105 pit build, Vista 5840.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              loneid Leonid Popov (Inactive)
              Reporter:
              smandalisunw Srinivas Mandalika (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: