Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-986

Provide ability to see hidden files in the file browsers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1, 2.0.5
    • Component/s: wtk, wtk-terra
    • Labels:
      None
    • Environment:
      Windows 7

      Description

      There are some fairly important hidden directories on Windows (such as C:\ProgramData and descendants) that are currently not visible with the file browser (and VFS Browser in 2.1) components.
      I would like to add a property to the basic browser (implemented in the skin) that would toggle the ability to browse hidden files and directories.

        Activity

        Hide
        rwhitcomb Roger Whitcomb added a comment -

        After testing the merged code in 2.0.x branch, I'm going to close the issue as fixed.

        Show
        rwhitcomb Roger Whitcomb added a comment - After testing the merged code in 2.0.x branch, I'm going to close the issue as fixed.
        Hide
        rwhitcomb Roger Whitcomb added a comment -

        Merged the FileBrowser parts of r1735181 to branches/2.0.x:
        Sending .
        Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSheetSkin.java
        Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSkin.java
        Transmitting file data ..
        Committed revision 1756227.

        Merged the FileBrowser parts of r1735282 to branches/2.0.x:
        Sending .
        Sending tests\src\org\apache\pivot\tests\FileBrowserWithCharsetTest.java
        Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSkin.java
        Transmitting file data ..
        Committed revision 1756228.

        Show
        rwhitcomb Roger Whitcomb added a comment - Merged the FileBrowser parts of r1735181 to branches/2.0.x: Sending . Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSheetSkin.java Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSkin.java Transmitting file data .. Committed revision 1756227. Merged the FileBrowser parts of r1735282 to branches/2.0.x: Sending . Sending tests\src\org\apache\pivot\tests\FileBrowserWithCharsetTest.java Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSkin.java Transmitting file data .. Committed revision 1756228.
        Hide
        rwhitcomb Roger Whitcomb added a comment -

        Made two submissions to "trunk" to address this:
        1. First one made the changes to add the "showHiddenFiles" style to the TerraFileBrowserSkin, TerraFileBrowserSheetSkin, as well as TerraVFSBrowserSkin, and TerraVFSBrowserSheetSkin, and then to "do the math" to disable the HIDDEN_FILE_FILTER if the flag is set to true. Also added a checkbox to the VFSBrowserTest program so this feature could be tested.
        2. The second change added a rendering change so that hidden files or directories are rendered with dim icons and disabled text color, again in both browser skin classes. This change also puts the little checkbox into the FileBrowserWithCharsetTest so the feature can be tested with the regular file browser as well.

        Show
        rwhitcomb Roger Whitcomb added a comment - Made two submissions to "trunk" to address this: 1. First one made the changes to add the "showHiddenFiles" style to the TerraFileBrowserSkin, TerraFileBrowserSheetSkin, as well as TerraVFSBrowserSkin, and TerraVFSBrowserSheetSkin, and then to "do the math" to disable the HIDDEN_FILE_FILTER if the flag is set to true. Also added a checkbox to the VFSBrowserTest program so this feature could be tested. 2. The second change added a rendering change so that hidden files or directories are rendered with dim icons and disabled text color, again in both browser skin classes. This change also puts the little checkbox into the FileBrowserWithCharsetTest so the feature can be tested with the regular file browser as well.

          People

          • Assignee:
            rwhitcomb Roger Whitcomb
            Reporter:
            rwhitcomb Roger Whitcomb
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development