-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: Google Drive doesn't show in Cloud Drives when mounts as a folder #15698
Comments
Thanks for the report. Have you set up the desktop client, opened it and restarted Files from the system tray? |
Hi, pls refer to the attachment, I have tried a few times.
…On Wed, Jun 26, 2024 at 7:14 PM Josh65-2201 ***@***.***> wrote:
Thanks for the report. Have you set up the desktop client, opened it and
restarted Files from the system tray?
—
Reply to this email directly, view it on GitHub
<#15698 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APU7TPJHLLHP3JAU2QUWAQTZJKPB5AVCNFSM6AAAAABJ5HKXDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGQZTQMBTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Email attachments don't work. You will have to click the |
Can you send a screenshot of the full Windows File Explorer window on |
Need a screenshot from Windows File Explorer, not Files. |
We don't support Google Drive mounting as a folder instead of a dedicate drive currently. @Josh65-2201 To detect the mounting point of Google Drive properly, we need to inspect the value of Marking it as a good first issue as the fix should be trivial:
/cc: @yaira2 |
Hello, I would like to try to work on this if that is okay. I think I found the place in the source code where I would need to make changes, and I plan to start working on it tomorrow. I am aware of the contributing guidelines and will follow them. |
Thank you! Please reach out if you have any questions. |
Files.App.Utils.Cloud.GoogleDriveCloudDetector.GetProviders() currently does, and what we want it to do. In Files.App.Utils.Cloud.GoogleDriveCloudDetector.GetProviders(), first we get a Sqlite database file at the following path: "$($env:localappdata)/Google/DriveFS/root_preference_sqlite.db" Then we copy that database to a temporary folder. Then we run the following SQL queries against the copy: SELECT * FROM roots SELECT * FROM media WHERE fs_type=10 Then we traverse the ITEMs in each of the two response sets and create a new GoogleDrive-type CloudProvider for each ITEM, with the CloudProvider.SyncFolder property set to a (formatted) part of each ITEM's contents. So far, in this scratch repo, I have confirmed that when Google Drive is mounted as a folder, this Sqlite method for getting the mount paths DOESN'T work. "When Google Drive is mounted as a folder" means when you have the "Google Drive streaming location" setting set to "Folder" in Google Drive Preferences. I have also confirmed that when Google Drive is mounted as a folder, the registry method for getting the mount paths ( described here: files-community/Files#15698 (comment) ) DOES work. Next I will test the behavior of each method when Google Drive is mounted as a dedicated drive.
No problem! I made some progress on exploring the problem today (see the notification above about the commit I just made in a scratch repo that references this issue), and I'm hoping to submit a pull request sometime this weekend. |
Description
Google Drive didn't show up in Cloud Drives Sidebar, Dropbox & Onedrive got no problem.
Steps To Reproduce
Just new install already like that.
Requirements
New installation already like that.
Files Version
3.5.0.0
Windows Version
10.0.19045.4529
Log File
debug.log
The text was updated successfully, but these errors were encountered: