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

Save and Save as in menu doesn't work #135

Open
ciscoheat opened this issue Nov 8, 2022 · 3 comments
Open

Save and Save as in menu doesn't work #135

ciscoheat opened this issue Nov 8, 2022 · 3 comments

Comments

@ciscoheat
Copy link
Contributor

When loading an example either from the menu or the www button, chances are that I'd like to modify it locally for exploration. But when going to File > Save as... The whole code window clears, and a Pardon. Can't write file. error message displays instead. Same with Save.

It seems like the Open File -> text box has to be filled in for saving to work properly. In that case, Save works in the menu, but not Save as, no new file is created. Also with any save operation from the menu, the file name field should be updated to use the new name, of course.

The WWW button could be a bit misleading since it uses the local file system when it begins with file: anyway. I think the WWW button with its text field could be removed, and Open File -> could be used with either a file name (relative or absolute) or a full URL instead. If a URL is present, the Save as dialog appears when clicking <- Save File, and then the file name changes.

@ciscoheat
Copy link
Contributor Author

Having the file dialog remember the last used directory would also be very convenient.

@ciscoheat
Copy link
Contributor Author

2022-11-08 12_12_59-trygve

After (re)opening trygve with a filename specified in the Open File text box, there seems to be a problem with loading it.

@jcoplien
Copy link
Owner

jcoplien commented Nov 8, 2022 via email

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