zed icon indicating copy to clipboard operation
zed copied to clipboard

Image viewer tabs do not correctly watch for file changes

Open olegKusov opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Im using SVN + MacFuse and ZED show me deleted earlier versions of PNG images. For example, we saved test.png, updated test.png file and in editor we see old version of file. VS Code for example show this file correctly

Environment

Zed: v0.146.5 (Zed) OS: macOS 14.1.1 Memory: 16 GiB Architecture: aarch64

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.

Zed.log

olegKusov avatar Aug 07 '24 14:08 olegKusov

Steps to reproduce:

  1. Download mario.png and luigi.png mario luigi
  2. Open mario.png in Zed.
  3. From the command line cp luigi.png mario.png

Notice Zed still shows the Mario and not the Luigi! Zed should listen for image changes with inotify just like we do for other file buffers.

notpeter avatar Aug 09 '24 20:08 notpeter

This is happening to me as well. Using the latest version of Zed Preview in the time of writing, and connected to a remote project. Running Mac OS 14.5 on an M1 Mac Air (aarch64). See picture below (left is old text, right is current new text, both from the same file). Have to delete the Zed project and reconnect as a newly added project as a workaround.

Screenshot 2024-08-17 at 3 42 11 PM

Shr1ftyy avatar Aug 17 '24 06:08 Shr1ftyy

Duplicate of:

  • https://github.com/zed-industries/zed/issues/11529

notpeter avatar Aug 27 '24 21:08 notpeter