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

Bug: opening an abstraction marks it as editted #2021

Open
dromer opened this issue Dec 16, 2024 · 13 comments
Open

Bug: opening an abstraction marks it as editted #2021

dromer opened this issue Dec 16, 2024 · 13 comments

Comments

@dromer
Copy link
Contributor

dromer commented Dec 16, 2024

When opening an abstraction it immediately is marked as edited even though we didn't change anything.
Trying to close it will ask us to save the changes.

2024-12-16_07-30

I thought we had this issue before, but it was fixed (can't find it though).
So could be a regression somewhere.

@timothyschoen
Copy link
Collaborator

Ah, gonna fix that!

Btw: changed your mind about syntax highlighting?

@dromer
Copy link
Contributor Author

dromer commented Dec 16, 2024

@timothyschoen I have had to reset the config several times and I work on 3-4 different machines so haven't set my own config yet.

Still not 100% convinced this looks good though :P

@dromer
Copy link
Contributor Author

dromer commented Dec 16, 2024

Hmm, I can't reproduce the issue on another machine. Both are running the latest nightly ..

@dromer
Copy link
Contributor Author

dromer commented Dec 17, 2024

Can't reproduce it atm. Will re-open if it re-appears ..

@dromer dromer closed this as completed Dec 17, 2024
@timothyschoen
Copy link
Collaborator

Seems like @porres is running into this issue as well, so worth investigating

@timothyschoen timothyschoen reopened this Dec 17, 2024
@dromer
Copy link
Contributor Author

dromer commented Dec 18, 2024

Hmm, with latest develop on another machine it's now also giving this issue (which I couldn't reproduce two days ago ..)

So yeah definitely something strange and inconsistent going on 🤔

@dromer
Copy link
Contributor Author

dromer commented Jan 28, 2025

This still happens regularly on latest nightly, btw.

I've still not detected a straightforward pattern that allows it to be easily reproduced :#

@tmhglnd
Copy link

tmhglnd commented Feb 3, 2025

I encounter this as well. Also don't see any pattern why.

@dromer
Copy link
Contributor Author

dromer commented Feb 5, 2025

It sometimes also happens for subpatches, which is odd since changes would go to the main patch.

From what I can tell only the sub-patch is marked as edited and when closing it we get a warning.

@timothyschoen
Copy link
Collaborator

timothyschoen commented Feb 5, 2025

I think I've found a pattern: it asks to save an abstraction if the parent patch if was opened from is marked dirty. That's at least one case I can reproduce some of the time

Edit: seems like this worked yesterday, but it doesn't happen anymore now...

@dromer
Copy link
Contributor Author

dromer commented Feb 5, 2025

Except it also happens when the parent patch hasn't been modified at all.

It's definitely very hard to reproduce, as the same patch may give this behavior one time, but not the next session.

@timothyschoen
Copy link
Collaborator

I did another fix, hope it doesn't happen anymore now

@dromer
Copy link
Contributor Author

dromer commented Feb 7, 2025

I'll update my local builds and play around .. we'll see what happens :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants