You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Todd Volkert (JIRA)" <ji...@apache.org> on 2009/10/07 16:58:31 UTC

[jira] Created: (PIVOT-316) FileBrowser sorting improvements

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.

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


[jira] Commented: (PIVOT-316) FileBrowser sorting improvements

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763287#action_12763287 ] 

Todd Volkert commented on PIVOT-316:
------------------------------------

#1 is done.

#2 is being caused in part by us not maintaining the selection state of the table view when we re-sort.

> 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.

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


[jira] Assigned: (PIVOT-316) FileBrowser sorting improvements

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown reassigned PIVOT-316:
--------------------------------

    Assignee: Greg Brown

> 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
>            Assignee: Greg Brown
>            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.


[jira] Updated: (PIVOT-316) FileBrowser sorting improvements

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (PIVOT-316) FileBrowser sorting improvements

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768169#action_12768169 ] 

Todd Volkert commented on PIVOT-316:
------------------------------------

#3 is done.  All the left is to maintain selection and text input contents when the comparator changes.

> 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.


[jira] Resolved: (PIVOT-316) FileBrowser sorting improvements

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Volkert resolved PIVOT-316.
--------------------------------

    Resolution: Fixed

> 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
>            Assignee: Greg Brown
>            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.