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

Files marked as dirty when opening #81

Closed
OldStarchy opened this issue Mar 7, 2023 · 4 comments
Closed

Files marked as dirty when opening #81

OldStarchy opened this issue Mar 7, 2023 · 4 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@OldStarchy
Copy link

Sometimes when I open a *.excalidraw file it immediately gets marked as dirty, If I hit save (without making any change) to clear the mark. The actual changes that get saved vary but I've seen the order of the properties change, and a number of property values change; version, versionNonce, updated, but also height and baseline.

If I then close all editor windows, and then try to close vscode I get "Do you want to save the changes you made to file.excalidraw" popup.

@pomdtr pomdtr added enhancement New feature or request bug Something isn't working labels Apr 22, 2023
@MrPeacockNLB
Copy link

MrPeacockNLB commented Apr 26, 2023

Yes, please fix this as it super anoying when using excalidraw file in a git repo. If one has many files in VScode opening a file it changes immedately but you can not figure out which one has real changes in it.

I'm using *.excalidraw.svg as container for the metadata

BTW: excalidraw is awesome!

@ciosoriog
Copy link

ciosoriog commented Jun 21, 2023

I love working with excalidraw, and more on vscode, but this is extremely annoying and makes it difficult to keep files synced when trying to work with files that were just opened but not changed clean in the source control repo, introducing artifact changes and causing conflicts.

@xlsigned
Copy link

same here. what is the status here? will this ever get fixed?

@pomdtr
Copy link
Collaborator

pomdtr commented Jun 19, 2024

Hey! I don't really have the bandwidth to maintain the extension (besides small updates).

This project is behind the excalidraw org, but for now I'm the only maintainer.

Any contribution is welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants