sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.32k stars 639 forks source link

Auto Save doesn't work with multiple sessions #609

Open dullbananas opened 3 years ago

dullbananas commented 3 years ago

I was working on my Bad Apple circuit, and I opened up one of the circuit examples in another window. When I opened the circuit simulator again today, and I used "recover auto-save", it only recovered that circuit example - not the Bad Apple one. Undo didn't work.

I lost a bit of progress of the bad apple circuit! This tragic loss of logic gates is unacceptable! although it's not as bad as this

If you can't completely fix this, at least show a warning, when opening / modifying a different circuit

pfalstad commented 3 years ago

You should save your work! Don't rely on auto-save. It does give you a warning when closing a window if you haven't saved.

pfalstad commented 3 years ago

I guess the warning doesn't happen when you close the window on mobile. (on ipad at least)