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

Feature - in v 3.0.2 needs a way to choose directory for saving project (on windows) and overwriting existing file #975

Open
vgreff opened this issue Dec 2, 2024 · 5 comments

Comments

@vgreff
Copy link

vgreff commented Dec 2, 2024

The latest version now just saves in the windows download directory without asking. It no longer opens a dialog box to change the directory to save the file and it also keeps creating new versions of file for every save (same name and adds (##) suffix.
There is no way to replace/overwrite the previous file.
A menu option to choose the working directory would be nice and an option to allow overwriting an existing file

@pfalstad
Copy link
Collaborator

pfalstad commented Dec 2, 2024

Hmm, that's odd because I didn't change anything related to this. I just changed the filename format. I'm also not sure if I have any control over whether the browser decides to display a dialog box.

This is the online version, right? What browser is it, Chrome?

@vgreff
Copy link
Author

vgreff commented Dec 2, 2024 via email

@pfalstad
Copy link
Collaborator

pfalstad commented Dec 2, 2024

I tried firefox on windows and it acts the same with the old version.

You can try 2.9.0 here: https://www.falstad.com/circuit/circuitjs96.html

It's the browser that's asking what directory to save in. The web app has no control over that. It can't check to see if there's a file there already either. For security reasons, the web app can't look at your files. I think there might be a new extension which allows that but I don't think firefox supports it anyway.

Maybe there is a browser setting that controls that, which got changed recently?

@vgreff
Copy link
Author

vgreff commented Dec 2, 2024 via email

@pfalstad
Copy link
Collaborator

pfalstad commented Dec 2, 2024

Yeah I noticed there's something going on with the caching, I need to figure that out

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