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

JFileChooser mixes up detail columns for Windows Libraries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 7u45, 7-pool, 8-pool, 9
    • client-libs

    Description

      FULL PRODUCT VERSION :
      java version "1.7.0_45"
      Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 (Microsoft Windows [Version 6.1.7601])

      A DESCRIPTION OF THE PROBLEM :
      Using a standard unmodified JFileChooser in "Details" view mode, the column headers do not properly reflect the contents when in a Windows Library collection. For example, it will read "Date modified" but instead the contents of that column show the file size information.

      ADDITIONAL REGRESSION INFORMATION:
      Also tested in 1.7.0_11 and it was still reproducible.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Create a JFileChooser.
      2. At runtime, chose the "Details" view (top right)
      3. Navigate to any Windows 7 Library (e.g., Music, Videos, Pictures)
      4. Observe the column headers and contents.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would expect that the column header correctly reflects the contents.
      ACTUAL -
      The column headers do not reflect the contents.

      What I observed: "Date modified" contains the file size, "Type" contains the date modified, and both "Size" and "Folder" were empty columns.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Attachments

        Issue Links

          Activity

            People

              alitvinov Anton Litvinov (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: