[ 
https://issues.apache.org/jira/browse/PIVOT-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Greg Brown updated PIVOT-316:
-----------------------------

    Description: 
FileBrowser could benefit from two sorting improvements:

1) When it's created, it doesn't explicitly sort the table view on any column, 
thus leaving the file sort order up to the OS.  This is non-deterministic and 
leads to the files being in seemingly random order on some platforms.  We 
should explicitly set the default column sort order to be file name ascending.

2) When you re-sort the table view, the text input containing the selected file 
gets cleared (if it contained text of a file not found in the current folder).  
The selected file should be preserved across sorts.

3) TerraFileBrowserSkin's default sort (NAME) should put folders before files. 
This would cause the default sort to sort by folders alphabetically, then by 
files alphabetically. Currently, all folders and files are sorted 
alphabetically, with folders and files intermingled.


  was:
FileBrowser could benefit from two sorting improvements:

1) When it's created, it doesn't explicitly sort the table view on any column, 
thus leaving the file sort order up to the OS.  This is non-deterministic and 
leads to the files being in seemingly random order on some platforms.  We 
should explicitly set the default column sort order to be file name ascending.

2) When you re-sort the table view, the text input containing the selected file 
gets cleared (if it contained text of a file not found in the current folder).  
The selected file should be preserved across sorts.


> FileBrowser sorting improvements
> --------------------------------
>
>                 Key: PIVOT-316
>                 URL: https://issues.apache.org/jira/browse/PIVOT-316
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Priority: Minor
>             Fix For: 1.4
>
>
> FileBrowser could benefit from two sorting improvements:
> 1) When it's created, it doesn't explicitly sort the table view on any 
> column, thus leaving the file sort order up to the OS.  This is 
> non-deterministic and leads to the files being in seemingly random order on 
> some platforms.  We should explicitly set the default column sort order to be 
> file name ascending.
> 2) When you re-sort the table view, the text input containing the selected 
> file gets cleared (if it contained text of a file not found in the current 
> folder).  The selected file should be preserved across sorts.
> 3) TerraFileBrowserSkin's default sort (NAME) should put folders before 
> files. This would cause the default sort to sort by folders alphabetically, 
> then by files alphabetically. Currently, all folders and files are sorted 
> alphabetically, with folders and files intermingled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to