zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.52k stars 3.13k forks source link

Linux : Unable to open folders on GNOME gvfs mounts #14323

Open vinod4dev opened 4 months ago

vinod4dev commented 4 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

GVFS is a mechanism used by GNOME to mount remote folders locally . The GVFS mount folder looks something like this /run/user/100/gvfs/sftp:host=remote.host/home/abc/zed

Steps to reproduce : (Either of the below )

  1. Nautilus : Right click folder & select "Open with .." . Select Zed
  2. Terminal : open a GVFS folder on terminal & type "zed . "
  3. Drag and drop folder from nautilus onto Zed

Assume there might could be similar issues opening remote folders on Linux

Environment

Linux 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux - Bookworm 12.6

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

[2024-07-12T17:54:31+05:30 ERROR worktree] failed to canonicalize root path: No such file or directory (os error 2)

Hellorge commented 4 months ago

same issue with KDE's KIOFuse.

vinod4dev commented 4 months ago

Additional info