files-community / files-community/Files

Bug: Google drive with multiple accounts sometimes shows in the Drives section

Open
#15,098 3 comments 0 reactions 0 assignees View on GitHub
area - cloud drives area - sidebar
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 1m
Merged PRs (30d)
60

Description

### Description

When mapping the GDrives through the Google Drive application for the drives to appear in the "Drives" section, they are not being shown properly.

I have 2 google accounts and the 2 corresponding GDrives to be mapped. In the previous versions (before the mandatory reinstall) they were working but after the installation of the new required version they appear/disappear randomly.

Some times I get both drives to show, other times only one of them show (some times one, some times the other).

### Steps To Reproduce

1. Install GDrive Desktop app
2. Add 2 different GDrive accounts and map them to a Drive letter through file streaming option
3. Application should show both accounts in the "Drive" section
4. After restarting the computer one or a few times, issue will eventually show
5. Reinstalling/clearing the Files app does fix the issue temporarily but it will end up happening again

![image](https://github.com/files-community/Files/assets/70699825/74ba9728-b42d-436f-acb6-ae611a5460a1)
![image](https://github.com/files-community/Files/assets/70699825/c93a8dab-7eec-4843-88b8-eed1a338ac66)

### Requirements

Fix the random appearance/disappearance of the GDrives on the "Drives" section in the sidebar.

![image](https://github.com/files-community/Files/assets/70699825/aa74c94c-f941-4644-b68c-181fb11dbf9a)

As you can see, the P: drive that should show there is gone, some times it appears instead of the G: drive and some other times both show, but it's inconsistent and random.

### Files Version

3.3.0.0

### Windows Version

Edition Windows 11 Pro Version 23H2 Installed on ‎22/‎06/‎2023 OS build 22635.3420 Experience Windows Feature Experience Pack 1000.22700.1003.0

### Log File

[debug.log](https://github.com/files-community/Files/files/14829055/debug.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.