Skip to content

Sync Status Icons in File Browser #1818

Closed

Description

@MTRichards

Basic Concept:
A small overlay icon that lies on top of files and folders inside the desktop client finder, explorer and equivalent app for Linux – something akin to the Box or Dropbox icons.

If the system is offline, there are no overlay icons present. BUT if a file has unsynced changes, the circular (static) icon remains as long as the system is offline indicating it is waiting to sync. Then it gets a circular icon spinning once it starts syncing when the system is online.

The icons for Folders are set like this:

  • Green Check – All files within the folder (all the way down the tree) are synced with the server, and there are no problems to report
  • Circular Icon – Some or all files and folders in the directory are waiting to sync or are actively syncing. Note this icon does not spin.
  • Yellow warning triangle – there is an error in syncing somewhere in the directory such as a path longer than 255 characters, or a bad character in a name, or a file firewall problem
  • Red error Icon – there is a fatal problem in the sync process that can’t be resolved, or no file can sync within the folder (it is possible that this folder is at the 255 character path length limit, so no file inside this folder can sync – thus this would be red). If there is a red folder icon deep in a tree all contining folders represent that red state all the way to the root folder.

All errors bubble up, so an error deep in a folder structure bubbles up to the top folder as per the rules above.

The icons for Files are set like this:

  • Green Check – This file has been synced with the server.
  • Blue circular icon – static – the file is currently waiting to sync, and they system is online
  • Blue spinning icon – moving – this file us currently syncing
  • Red error – the file is not syncing for whatever reason, perhaps a file firewall error, or a long path of bad character in the name

There are 4 related items for UX / integration with the OS:

@jancborchardt

Activity

  1. MTRichards commented on May 27, 2014

    @MTRichards
    Author

    Related:
    #102

  2. MTRichards commented on May 27, 2014

    @MTRichards
    Author

    @danimo @dragotin When we get to this.

  3. dragotin commented on May 27, 2014

    @dragotin
    Contributor

    Cool, thanks. @MTRichards , can you find somebody to actually provide the icons drawings?

  4. MTRichards commented on May 27, 2014

    @MTRichards
    Author

    Can do!

  5. DeepDiver1975 commented on May 27, 2014

    @DeepDiver1975
    Contributor

    @MTRichards you might want to add additional icons as share indicator to tell the user that the file/folder is shared by somebody else?

    In addition it is currently technical possible to tell the user that the file/folder is externally mounted - no idea if there is a need for it from the user perspective.

  6. MTRichards commented on May 27, 2014

    @MTRichards
    Author

    Right now, I will put the "external" icon as an interesting option and start asking about it - not sure if a user will be interested in knowing that or not.
    @jancborchardt interested in your opinion.

  7. jancborchardt commented on Jun 6, 2014

    @jancborchardt
    Contributor

    I thought I commented on this here … anyway, 👍 as we discussed.

  8. MTRichards commented on Jun 11, 2014

    @MTRichards
    Author
  9. VincentvgNn commented on Aug 3, 2014

    @VincentvgNn

    @MTRichards
    In issue #1743 I mentioned that these dynamic overlay icons cannot work well in Windows due to the limited number of registry slots. Icons with a ranking higher than 15 will not be displayed. As soon as more than about 2 programs are using this type of icons, there will be troubles, i.e. customers will complain about missing overlay icons.
    I learned this from evaluating other cloud systems.

    I love the functionality of overlay icons, but:

    1. The customer has to be warned that it may give problems.
       Depending on the ranking, overlay icons from ownCloud or other programs may stop working!
    2. There must be an option not using these overlay icons in case of problems.
       Switching on/off must be repaired in the registry.
    

    While there is a big chance that overlay icons cannot be used, I personally prefer another method for showing the folder/file status.
    Is there anyone who knows a better method?

    Microsoft seems to know about this limitation for at least 10 years.
    Somehow they keep it silent and they seem to refuse ever improving this.
    For their own OneDrive they put an extra space in front of the names in the registry in order to obtain the highest ranking!
    Just have a look in the registry at: “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers”

    Using the same overlay icons as OneDrive .... ?
    A naughty thought that might not be accepted by MS.

  10. danimo commented on Aug 4, 2014

    @danimo
    Contributor

    @VincentvgNn Reuse seems like a good idea, but it's not possible due to different semantics and icon requirements. This one is really on Microsoft, and I don't see much room for improvement here. Let's try to do as good as we can and get a first version out. This can always be optimized later depending on the feedback.

  11. 11 remaining items

  12. VincentvgNn commented on Aug 22, 2014

    @VincentvgNn

    I did 2 experiments on Win 8.1 to get the overlay icons working:

    I renamed all OC overlay icons in the registry with 2 spaces in front.
    After a PC restart OC was not running quite well and it got hanging. No overlay icons showed up.
    Maybe OC cannot recognize the icons anymore and does not run therefore.
    How to make OC independent from proceeding spaces in the names?

    After renaming back to the original names I restarted the PC, checked the registry names and uninstalled OC.
    The overlay icons were not removed from the registry !!!!

    I renamed all Google Drive and SkyDrive overlay icons in the registry with a proceeding "x".
    I deleted the non-removed OC overlay icons and made a restart.
    I installed OC Client 1.7.0 beta 1 and restarted again.
    The OC overlay icons now got on position 2-9 in the registry.
    OC seemed to be running, but as soon as I started the Windows File Explorer and tried to go to the OC folder, OC got non-responsive for tenths of minutes or longer.
    I needed the Task Manager to stop OC.

    Restarting without the File Explorer works fine.
    But as soon as the File Explorer get's started OC get's into troubles.
    Up to now I didn't see any overlay icon.

    At the end I re-installed OC Client 1.7.0 beta 1 without overlay icons.

  13. VincentvgNn commented on Sep 18, 2014

    @VincentvgNn

    @danimo
    When talking about dirty tricks ......., I got an update from Dropbox where they are now using 8 (!) overlay icons with the names placed between apostrophes ("DropboxExt1" until "DropboxExt8").
    In that way they assure themselves to be the second after Microsoft's OneDrive with 3 icons.
    With 11 slots being occupied, the OC overlay icons will not work.
    Could Dropbox be anticipating to a solution in Windows 9?

  14. luciamaestro commented on Nov 11, 2014

    @luciamaestro

    It is in the new release 1.7.0 so I close this issue.

  15. simonjwoolf commented on Nov 20, 2014

    @simonjwoolf

    Are the overlay icons theoretically available for all platforms in 1.7.0? I have that version of the client installed on Ubuntu and I'm not seeing any icons.

  16. jancborchardt commented on Nov 20, 2014

    @jancborchardt
    Contributor

    @simonjwoolf yes, it should work, on Ubuntu with the Nautilus file manager. If there are any problems please open a new issue and provide more info, like version of Ubuntu and if possible, the file manager. Thanks! :)

  17. dragotin commented on Nov 20, 2014

    @dragotin
    Contributor

    On Linux, you have to install the package owncloud-client-nautilus and restart nautilus, namely relogin.

  18. simonjwoolf commented on Nov 20, 2014

    @simonjwoolf

    Got it, that works a treat.

  19. jancborchardt commented on Nov 20, 2014

    @jancborchardt
    Contributor

    @dragotin isn’t the package installation handled automatically?

  20. cdhowie commented on Nov 25, 2014

    @cdhowie

    This feature does not seem to be working on Windows 7; I don't see any indicator icons in my ownCloud directory on any of my Windows 7 systems. (Using 1.7.0, build 4162)

  21. Dusa commented on Nov 25, 2014

    @Dusa

    @cdhowie you might need to restart, that worked for me on Win7

  22. cdhowie commented on Nov 25, 2014

    @cdhowie

    @Dusa Hmm, good idea. I will try and update the thread with the results. If that does work then it might not be a bad idea for the client installer to prompt a restart.

  23. cdhowie commented on Nov 25, 2014

    @cdhowie

    Rebooting did solve the issue.

  24. VincentvgNn commented on Aug 24, 2015

    @VincentvgNn

    @dragotin @danimo
    I noticed that in the latest Google Drive release the number of overlay icons has been reduced to 3: GoogleDriveBlacklisted, GoogleDriveSynced and GoogleDriveSyncing.
    And the big surprise is that they are now using 2 spaces in front of the names in the same way as ownCloud does!
    They copied this method from ownCloud or they detect what to put in front in order to get their icons at the first positions.

  25. PurpleGab commented on Sep 29, 2015

    @PurpleGab

    Placing spaces and " in front of what you want to be active is indeed dirty.

    If MS is not able to solve the problem, all others should at least refain from flooding the registry.
    The icons I really need are from tortoise, all the others are nice to have, but I don't care.

    So now that I know where to edit the list, why does everybody try smuggle their "most valuable" 10 icons in every time I reboot or whatever.

    This is more than ugly.

    Gab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions