[Github-comments] [geany/geany] Opening a read only file - locks up with error mesage (#2104)

elextr notifications at xxxxx
Tue Mar 26 23:04:03 UTC 2019


For whoever attempts a PR, it seems to me both 1. and 3. are needed.

Refactoring of `document_save_file()` is needed so a new function, say `document_save_file_error()` without the dialog and with the gerror can be created. Better to create a different function rather than changing the existing function signature which would be a big API break inside Geany and many plugins.  

Needs 1. because the plugin still needs to disable saving of that document or the same thing will happen again next timeout.  Probably if an error occurs the plugin should show a dialog detailing the error with an option to stop saving the document.  And then since it has to keep a list it is only a minor addition to allow users to add files to the list to cure #673.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2104#issuecomment-476887288
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190326/36b48dff/attachment-0001.html>


More information about the Github-comments mailing list