-
Notifications
You must be signed in to change notification settings - Fork 644
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
Comments
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? |
Thank you for the quick answer and
Yes it’s in the online version 3.0.2 on Falstad.com (old version 2.9.1 brings up a dialog box) and I’m using firefox (v133) on windows 10/11.
In 3.0.2 the save is kind of silent after the first dialog box asking the file name (no question asked via further dialog box), on 2.9.6 CRTL-s (save) brings up a second dialog box afterans is asking for the directory where to save and a third dialog box if there is a conflict with existing file name.
It’s a bit too many dialog boxes IMHO, but woks.
One suggestion would be add a field for the directory name location in the very first dialog box that asks for the name (it’s clearly picking a directory but the user does not know where it is nor can’t change it) and maybe a checkbox that says overwrite file if exists
BTW, I love the app 😊
From: Paul Falstad ***@***.***>
Sent: Monday, December 2, 2024 1:05 AM
To: sharpie7/circuitjs1 ***@***.***>
Cc: Vincent Greff ***@***.***>; Author ***@***.***>
Subject: Re: [sharpie7/circuitjs1] Feature - in v 3.0.2 needs a way to choose directory for saving project (on windows) and overwriting existing file (Issue #975)
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?
—
Reply to this email directly, view it on GitHub <#975 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJRIKXD3QP5IKIJDQE24FT2DQBDNAVCNFSM6AAAAABS2TP3HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJQG4ZTCMRRHE> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AAJRIKSV4UXWNWVB7FFTW332DQBDNA5CNFSM6AAAAABS2TP3HGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUVU235G.gif> Message ID: ***@***.*** ***@***.***> >
|
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? |
Problem fixed, I can confirm now and that the behavior in 3.0.3 is the same to 2.9.1. Dialog boxes are all back.
Polarized caps fixed worked too BTW as you said in other mail
I had to manually clear 7.2MB of data that associated with Falstad.com in the firefox browser on my windows 10 machine and then the 3.0.3 version showed up there as well. Without manually clearing it did not auto upgrade to 3.0.3, not a big deal but I wanted to share that data point.
Vincent B. Greff
From: Paul Falstad ***@***.***>
Sent: Monday, December 2, 2024 12:36 PM
To: sharpie7/circuitjs1 ***@***.***>
Cc: Vincent Greff ***@***.***>; Author ***@***.***>
Subject: Re: [sharpie7/circuitjs1] Feature - in v 3.0.2 needs a way to choose directory for saving project (on windows) and overwriting existing file (Issue #975)
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?
—
Reply to this email directly, view it on GitHub <#975 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAJRIKTYC3RH34ZQTD4C23L2DSR77AVCNFSM6AAAAABS2TP3HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJSGM4DOMJZGQ> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AAJRIKSHJJD5E5YU2JNS7QT2DSR77A5CNFSM6AAAAABS2TP3HGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUVX76HU.gif> Message ID: ***@***.*** ***@***.***> >
|
Yeah I noticed there's something going on with the caching, I need to figure that out |
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
The text was updated successfully, but these errors were encountered: