Skip to content
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 Report] Mounting a remote drive with rclone causes COSMIC files to freeze #741

Open
firkowski opened this issue Jan 13, 2025 · 0 comments

Comments

@firkowski
Copy link

firkowski commented Jan 13, 2025

Cosmic-files version:
cosmic-files:
Installed: 0.1.0173634443824.04d11cfbb
Candidate: 0.1.0
173634443824.04d11cfbb
Version table:
*** 0.1.0173634443824.04~d11cfbb 1001
1001 http://apt.pop-os.org/release noble/main amd64 Packages
100 /var/lib/dpkg/status

Issue/Bug description:
If a Google Drive is mounted anywhere in the filesystem using rclone, COSMIC files freezes. After opening, for a very long time (depending on the size of files stored in the remote, but even for very small hierarchies it takes minutes) it does not show any files (including those that are not in the remote) and refuses to be closed in any way other than killing it's process. COSMIC files returns to normal instantly after unmounting the remote.

image

Steps to reproduce:
Set up a GDrive remote using rclone in either $HOME or /mnt/. Create a directory hierarchy of depth 3 and open COSMIC files.
Here are the mount flags I am using currently

/usr/bin/rclone mount \
	--vfs-cache-mode full \
	--buffer-size 1G \
	gdrive: /home/max/rclone/gdrive/

However, on my machine this happens with any combination of flags.

Expected behavior:
The program should operate normally (or close to normally) when there is a remote mounted onto the filesystem.

Other notes:

  • my network speed is 20Mbps and my GDrive takes up 63Mb.
  • I tried experimenting with rclone mount flags to no effect.
  • This does not happen in other file managers, ex. Thunar
  • I can only guess that this is due to COSMIC files not displaying any files until it caches the entire filesystem but I do not know if it is possible to turn it of
@firkowski firkowski changed the title [Bug Report] Mouting a remote drive with rclone causes COSMIC files to become unusable [Bug Report] Mouting a remote drive with rclone causes COSMIC files to freeze for a long time Jan 13, 2025
@firkowski firkowski changed the title [Bug Report] Mouting a remote drive with rclone causes COSMIC files to freeze for a long time [Bug Report] Mouting a remote drive with rclone causes COSMIC files to freeze Jan 13, 2025
@firkowski firkowski changed the title [Bug Report] Mouting a remote drive with rclone causes COSMIC files to freeze [Bug Report] Mounting a remote drive with rclone causes COSMIC files to freeze Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant