Author Topic: Onedrive sync icons  (Read 1195 times)

Tetsuya_Tsurugi

  • Newbie
  • *
  • Posts: 2
    • View Profile
Onedrive sync icons
« on: July 15, 2018, 14:28:49 »
Hello. Can you add onedrive sync status icons column to explorer panels? I use everyday onedrive to save my work files, but I need open  windows file explorer to knowing if my folders are in my hard disk or online. This request will be useful to me and I hope useful to more people

thanks

Mathias (Author)

  • Administrator
  • Elite Member
  • *****
  • Posts: 3333
    • View Profile
    • Multi Commander
Re: Onedrive sync icons
« Reply #1 on: July 15, 2018, 15:18:17 »
Problem is that MS have not documented on how to get that information. I been experimented with some ways, not sure that it is correct yet.. But it is not ready yet.. So Maybe

Anti-Bacterial

  • Junior Member
  • **
  • Posts: 13
    • View Profile
Re: Onedrive sync icons
« Reply #2 on: December 08, 2018, 17:56:46 »
In Explorer, select View > Options.  Then tick this setting:



  • Always show availability status



Credit goes to Hans Brender's helpful website:
https://hansbrender.com/tag/availability-status/




Mathias (Author)

  • Administrator
  • Elite Member
  • *****
  • Posts: 3333
    • View Profile
    • Multi Commander
Re: Onedrive sync icons
« Reply #3 on: December 09, 2018, 12:28:05 »
It shows that in Windows Explorer. I need a way to get that info from code. I have not investigated it in a while so there might be a way now. Not sure. I will add a investigation task for my self and see if I can find a way

Anti-Bacterial

  • Junior Member
  • **
  • Posts: 13
    • View Profile
Re: Onedrive sync icons
« Reply #4 on: December 20, 2018, 18:34:31 »
Hi Mathias,

I'm able to see the OneDrive availability status (online/offline icons) after simply enabling the folder options mentioned above.  No coding needed. See screenshot.

Compare my MC left-side panel which shows my OneDrive subfolders (green icon overlay indicating all files in sync and available offline) VS.
the MC right-side panel which shows my C: root (no green icons, since these files are not synced to the cloud). 

MC also displays correctly for DropBox folders (similar to OneDrive, but not shown in the screenshot).

I do not know how MC is determining the cloud status, perhaps the OS is supplying the info to MC when it reads the extended folder attributes? I'm on Windows 10 64-bit home edition.  My OneDrive is version 2018 (build 18.222.1104.0007)

Perhaps enabling the file explorer option above will help someone else see their cloud folder status without additional coding efforts.

Cheers!
Anti-Bacterial
« Last Edit: December 20, 2018, 18:42:54 by Anti-Bacterial »

Mathias (Author)

  • Administrator
  • Elite Member
  • *****
  • Posts: 3333
    • View Profile
    • Multi Commander
Re: Onedrive sync icons
« Reply #5 on: December 20, 2018, 22:46:40 »
Ahh okey It enabled it for the overlay icons. Cool.
Problem is that the whole icon overlay thing is very bad and if you got a lot of program that shows overlay icons, some may not show. Windows are only able to show 15 different icons. And it will show the first 15 that are configured in the register.
So if you got OneDrive, DropBox, And other extension that show other icons. Some of them will not show, And it is a very common issue.
So because of that I'm actually look for a way to get the status so MC can have a way to always show it. and not be depend on Windows and the 15 overly icon limit


Tetsuya_Tsurugi

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Onedrive sync icons
« Reply #6 on: December 21, 2018, 13:53:14 »
Sadly, this solution doesn't work for me  (is doesn't or don't, my english is bad hehe). Maybe it because I'm using Onedrive  university account and my folder name is "Onedrive - XXXXX" (I don't know if that is onedrive for business or not)
« Last Edit: December 21, 2018, 14:42:28 by Tetsuya_Tsurugi »

Anti-Bacterial

  • Junior Member
  • **
  • Posts: 13
    • View Profile
Re: Onedrive sync icons
« Reply #7 on: December 21, 2018, 17:42:31 »
Thanks, Mathias, for your response. 

For those interested, I found more info on OneDrive sync overlay icons.  There are several fix options from Microsoft and PCWorld.
NOTE:  Sync icons do not appear as overlays if Files on Demand is enabled.

Tetsuya_Tsurugi -- see helpful links below

Youtube video explaining OneDrive on Demand feature:
https://www.youtube.com/watch?v=iqOl3ykf0z8

Microsoft support article re: missing sync icon overlays for OneDrive and OneDrive for business:

https://support.microsoft.com/en-us/help/3079213/sync-icon-overlays-are-missing-from-onedrive-and-onedrive-for-business

PCWorld easy fix for missing green check marks in OneDrive:

https://www.pcworld.com/article/3098314/data-center-cloud/the-easiest-fix-for-missing-green-check-marks-in-onedrive.html


Good luck and best wishes!
AB
« Last Edit: December 21, 2018, 18:16:37 by Anti-Bacterial »