[Github-comments] [geany/geany] Add option to use status window to warn about unwritable project files (PR #2953)

elextr notifications at xxxxx
Tue Nov 9 22:47:45 UTC 2021


> When write permissions are removed from geany.conf, there are no popups or messages (not even in the status window). Project files and geany.conf both store config and session info. Why are read-only project files something that the user must "correct", but read-only geany.conf is not even worth notifying the user about?

Good catch, `keyfile.c::configuration_save()` does not check the return value from `utils.c::utils_write_file()` but `project.c::write_config()` does. At first glance I would call it a bug.  Should have its own issue.

It may be as simple as "someone wrote it that way" but possibly its intentional, checking back in git history to find when one or the other was added/changed might be enlightening, or one of the long term contributors may remember why.

-- 
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/pull/2953#issuecomment-964615464
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211109/8d7dcaac/attachment.htm>


More information about the Github-comments mailing list