-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: OneDrive size is being calculated wrong #10001
Comments
Approved |
Ok I analyze the bug. |
So this should be fixed for now by just calculating the local folder size for OneDrive? |
That would fix only |
Oh true |
Is there a way to get the remote size with code? |
I managed to find how Explorer did it without the need to use the Graph API, and it's possible to implement it for OneDrive. However, from testing in a Windows 10 VM, it will only work for Windows 11, circa 23H2. Would that be an acceptable compromise for the time being? |
Certainly 👍 |
Initial support has been added in #16882 (thank you @dongle-the-gadget!). However, we are keeping this issue open so we can track the following:
|
It doesn't look like we'll be able to support this feature on older versions of Windows, however we can move forward with enabling the storage overview in the Details Pane like we do for other drives. |
Description
When displaying OneDrive's properties, space free/used/total refers to the disk where the local folder is stored, rather than the actual size of the folder
Steps To Reproduce
Steps to fix
Files Version
Version: 2.3.28.0 OS Version: 10.0.22000.978
Windows Version
Windows 11 Home 21H2 22000.856
Relevant Assets/Logs
The text was updated successfully, but these errors were encountered: