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

make easier to save in Chrome with "enhanced protection" enabled #402

Open
dave-doty opened this issue Jul 20, 2020 · 2 comments
Open

make easier to save in Chrome with "enhanced protection" enabled #402

dave-doty opened this issue Jul 20, 2020 · 2 comments
Labels
enhancement New feature or request high priority Something cruicial to get working soon.

Comments

@dave-doty
Copy link
Member

dave-doty commented Jul 20, 2020

Some users will experience problems saving if their Chrome settings enable enhanced protection:

image

TODO paste image of what happens, if we can ever reproduce it.

Emergency workaround to save file if scadnano Save fails

If you experience this issue with a large design that you don't want to lose, here's a workaround to save the file by pulling it out of localStorage manually.

In Chrome, open Developer Tools by pressing Ctrl+Shift+I, or clicking on ⋮ in the top right and clicking on More tools → Developer Tools:

image

Click on the Application tab, then on Local Storage, then on the scadnano website, then on "scadnano:design":

image

Double-click on the text to the right of "scadnano:design", under the Value column, and make sure it is all selected. At that point you can copy and paste this text into a local text file ending in .sc.

image

@dave-doty dave-doty added the enhancement New feature or request label Jul 20, 2020
@dave-doty
Copy link
Member Author

I cannot reproduce the error. Right now the file saves okay even with enhanced protection enabled.

I do recall getting the error before. If we can reproduce it, we should paste a screenshot of what happens here.

@dave-doty dave-doty added the high priority Something cruicial to get working soon. label Jul 20, 2020
@EricESeverson
Copy link
Collaborator

I also can no longer reproduce the error even if I put safe mode back on in Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority Something cruicial to get working soon.
Projects
None yet
Development

No branches or pull requests

2 participants