Skip to content

"Status" column may remain blank for extended periods of time #461

@crwood

Description

@crwood

Gridsync relies on Magic-Folder's status API in order to determine the overall "status" of a given folder (e.g., "Syncing" vs. "Up to date") and will not declare/display a folder to be "Up to date" until some remote activity has been observed to complete successfully -- in other words, until there is good reason to believe that Magic-Folder has successfully completed a remote scan and/or determined that no further upload/download operations are required to synchronize the local state with the remote state. Prior observing such activity, the "Status" column remains blank -- on purpose, on the assumption that Gridsync cannot know with confidence whether the local state actually matches the remote one until there is some evidence that a scan has completed successfully. Unfortunately, the only way that Gridsync can make such a determination currently is by watching the uploads and downloads lists provided by the Magic-Folder status API (and then marking a folder as being "Up to date" when -- and only when -- all pending upload/download operations have completed successfully).

Unfortunately, this rather conservative informational policy can lead to a bad or confusing user experience since a user who makes no changes to a folder will see no updates to the "Status" column -- at least not until one such change is observed. Thankfully, the Magic-Folder project is adding support for tracking the last successful "scan" time -- the implementation of which, hopefully, will allow Gridsync to determine whether or not a folder is up to date independently of observing the completion of any upload or download operations (since a scan that completes successfully and which isn't followed by queued upload/download operations can be taken as an indication that the local state indeed matches the remote one -- in other words, that the folder is "up to date").

Needless to say, Gridsync should be updated to consult the last scan time so that determinations about "up to date"-ness can be made earlier, and without waiting for an upload/download operation to complete. In addition, the "blank" status column that appears prior to this should probably be filled with something that faithfully indicates this state -- such as "Waiting for scan", "Waiting to update" "Checking status", or equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions