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
39.8k stars 2.08k forks source link

Zed putting volume drive shortcuts on desktop MacOS #10782

Open spaceunifyfifty opened 2 months ago

spaceunifyfifty commented 2 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

After a few hours of working in Zed I will find that my desktop is suddenly riddled with several weird ejectable drive shortcuts titled Zed and untitled folders.

example

I suspect I am accidentally causing this through some keyboard shortcut that I am not aware of. I have the vscode keymap turned on.

To get rid of them, I have to option click on each of the icons and press Eject. But more show up again every day.

What is causing this and how can I disable it?

Environment

Zed: v0.125.3 (Zed) OS: macOS 14.2.1 Memory: 8 GiB Architecture: aarch64

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

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

JosephTLyons commented 2 months ago

Hey @spaceunifyfifty - how are you launching the Zed app? Have you copied it over to your /applications directory? Are you launching the app from the disk image?

spaceunifyfifty commented 2 months ago

Hey @spaceunifyfifty - how are you launching the Zed app? Have you copied it over to your /applications directory? Are you launching the app from the disk image?

I installed zed via brew install --cask zed, so it is in my /Applications automatically. When I open zed, it is either through Spotlight search "zed", or a terminal where I open zed on specific directories like cd project && zed .

spaceunifyfifty commented 2 months ago

Something that might be playing a role here: I switch between MacOS user logins frequently, and use Zed on both accounts. I typically only notice more of these desktop shortcuts pop up after I go back and forth between accounts.

spaceunifyfifty commented 2 months ago

it has only been 2 days... Whatever I am doing to trigger it, I must be doing very frequently.

image
lsgng commented 2 weeks ago

Same issue here. Don't see them on my desktop, but running diskutil list currently shows me several hundred mounted Zed volumes:

/dev/disk326 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +230.6 MB   disk326
   1:                 Apple_APFS Container disk327       230.5 MB   disk326s1

/dev/disk327 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +230.5 MB   disk327
                                 Physical Store disk326s1
   1:                APFS Volume Zed                     199.6 MB   disk327s1

OS: MacOS 14.5 Zed version: Not sure, uninstalled it before writing this comment. Probaby0.140.5 (current version on Homebrew).