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

Closing and reopening tab can lose program #68

Open
ojwb opened this issue Jan 16, 2021 · 3 comments
Open

Closing and reopening tab can lose program #68

ojwb opened this issue Jan 16, 2021 · 3 comments

Comments

@ojwb
Copy link
Collaborator

ojwb commented Jan 16, 2021

It seems owlet saves the current program into the browser storage, but only keeps track of one such program at a time.

If you have owlet open and open a second owlet tab, then accidentally close the first tab and try to reopen it, it reopens with the program from the second tab and your code from the first tab seems to be irretrievably lost, which is ... unhelpful.

I think it's unrealistic to assume people will only have one instance of owlet open at a time. I'm not very up on modern web stuff, but the old editor seemed to handle concurrent instances better than this.

I'm using Firefox if that makes a difference.

@ojwb
Copy link
Collaborator Author

ojwb commented Jun 3, 2021

Accidentally hitting "back" seems to have a similar problem - the current program is typically replaced with a different one if you have multiple owlets open, and "forwards" doesn't do anything.

@mattgodbolt
Copy link
Owner

Just to be sure you mentioned the old editor didn't do this; which old editor? (Maybe I missed something ☺️)

@ojwb
Copy link
Collaborator Author

ojwb commented Jun 5, 2021

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

2 participants