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" action for read-only files should trigger "Save as" #532

Closed
danstowell opened this issue Sep 23, 2012 · 3 comments
Closed

"Save" action for read-only files should trigger "Save as" #532

danstowell opened this issue Sep 23, 2012 · 3 comments
Assignees
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE
Milestone

Comments

@danstowell
Copy link
Member

If you open a read-only file (e.g. something installed in yr linux class lib), then edit it, when you try and quit you get the "Unsaved documents" dialog. All fine so far. However, if you press the default "Save" button nothing happens - the dialog momentarily disappears and reappears, since of course it has failed to save.

In fact, I realise now that this happens if you do ordinary File>Save too. Nothing happens, and the file stays in unsaved state.

What it should do (IMHO) is trigger a Save-as dialog for the unwriteable files.

@timblechmann
Copy link
Contributor

hm ... just checked with other systems: gedit and emacs open read-only files in read-only mode (emacs doesn't even allow modifications of the opened file). kate shows an error message when trying to save the file.

maybe we should show a dialog with a warning before opening the file dialog?

@ghost ghost assigned timblechmann Sep 23, 2012
@timblechmann
Copy link
Contributor

fixed. but maybe a native speaker could reword the warning message, if necessary.

@danstowell
Copy link
Member Author

thanks, done

2012/9/23 Tim Blechmann notifications@github.com

fixed. but maybe a native speaker could reword the warning message, if
necessary.


Reply to this email directly or view it on GitHubhttps://github.com//issues/532#issuecomment-8797618.

http://www.mcld.co.uk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE
Projects
None yet
Development

No branches or pull requests

2 participants