You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2012/05/30 00:36:24 UTC

[jira] [Created] (PIVOT-857) Add activity indicator to file browser while loading a directory

Roger Whitcomb created PIVOT-857:
------------------------------------

             Summary: Add activity indicator to file browser while loading a directory
                 Key: PIVOT-857
                 URL: https://issues.apache.org/jira/browse/PIVOT-857
             Project: Pivot
          Issue Type: Improvement
          Components: wtk-terra
    Affects Versions: 2.0.2
         Environment: All
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb
            Priority: Minor
             Fix For: 2.0.3


While the File Browser is loading the contents of a directory (which can take some time depending on the environment, and whether it is a network drive), there is no indication that anything is happening.  Perhaps an ActivityIndicator could be overlaid on the file list display area to indicate that something is happening in the background.  This should work since loading the files is happening on a second thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIVOT-857) Add activity indicator to file browser while loading a directory

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

Roger Whitcomb updated PIVOT-857:
---------------------------------

    Attachment: browser.patch

The "browser.patch" implements this functionality and also speeds up the whole process by about 2x in some cases (slow drive in a VM, for instance) by filtering the files ahead of time and then using Arrays.sort on the exact list.
                
> Add activity indicator to file browser while loading a directory
> ----------------------------------------------------------------
>
>                 Key: PIVOT-857
>                 URL: https://issues.apache.org/jira/browse/PIVOT-857
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-terra
>    Affects Versions: 2.0.2
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: filebrowser
>             Fix For: 2.0.3
>
>         Attachments: browser.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> While the File Browser is loading the contents of a directory (which can take some time depending on the environment, and whether it is a network drive), there is no indication that anything is happening.  Perhaps an ActivityIndicator could be overlaid on the file list display area to indicate that something is happening in the background.  This should work since loading the files is happening on a second thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PIVOT-857) Add activity indicator to file browser while loading a directory

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

Roger Whitcomb resolved PIVOT-857.
----------------------------------

    Resolution: Fixed

Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSkin.java
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\terra_file_browser_skin.bxml
Transmitting file data ..
Committed revision 1346574.
                
> Add activity indicator to file browser while loading a directory
> ----------------------------------------------------------------
>
>                 Key: PIVOT-857
>                 URL: https://issues.apache.org/jira/browse/PIVOT-857
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk-terra
>    Affects Versions: 2.0.2
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: filebrowser
>             Fix For: 2.0.3
>
>         Attachments: browser.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> While the File Browser is loading the contents of a directory (which can take some time depending on the environment, and whether it is a network drive), there is no indication that anything is happening.  Perhaps an ActivityIndicator could be overlaid on the file list display area to indicate that something is happening in the background.  This should work since loading the files is happening on a second thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira