You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: "Save As" does not ask for a new path when a file is already saved #3321
The save_as() function is supposed to let the user choose a new destination every time it is called. However, when the file has already been saved, the function skips the saving dialog entirely and overwrites the existing file. This makes Save and Save As identical, making the user unable to duplicate or export the file to a different location.
Steps to reproduce the behavior
Open any existing file using File > Open.
Make any change in the IDE.
Click File > Save As.
No dialog appears and the original file is overwritten.
Expected behavior
"Save As" should always open a file explorer dialog that lets the user specify a new file name and path, regardless of whether a file is currently loaded. The original file must remain untouched
Screenshots
No response
Device?
Desktop
Which OS are affected?
Linux
Enter the version of your web browser
No web browser is affected by this bug.
Which browsers are affected?
No response
Additional context
I selected "Linux" as affected OS because I tested the script on Void Linux x86_64, but the issue is the same for the other types of OS.
To reduce notifications, issues are locked. Your issue will be unlocked when we add the label gssoc23. If you're participating in GSSoC'23, please add the gssoc23 label to your issue.
Activity
github-actions commentedon Mar 21, 2026
To reduce notifications, issues are locked. Your issue will be unlocked when we add the label
gssoc23. If you're participating in GSSoC'23, please add thegssoc23label to your issue.