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
48.86k stars 2.94k forks source link

Images not updating in editor when overwritten #19770

Closed UshMc closed 2 hours ago

UshMc commented 2 hours ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When I create an "image.png" from a python script, I am able to view the image in the editor. However, if I create another image with the same name (eg by running the python script with different inputs) - the editor still displays the old image data. This is happening for both JPGs and pngs.

Environment

Zed: v0.158.2 (Zed) OS: macOS 14.4.0 Memory: 96 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


SomeoneToIgnore commented 2 hours ago

Duplicate of https://github.com/zed-industries/zed/issues/11529