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

Enrico Tröger notifications at xxxxx
Sun Nov 7 22:41:06 UTC 2021


> > I'm wondering if this is really necessary. Errors on saving files should be noticed by users, usually one probably wants to fix the cause instead of ignoring it.
> 
> If this were for files being edited, I'd agree. But this is for project files. Since Geany functionality otherwise remains intact, this is more of a "warning" than an "error".
> 
> Geany also _frequently_ saves project files, even when no changes have been made. This can lead to dozens of popups.

The idea the popups is to inform the user that there is something wrong with the project file and that Geany could not write it. The user should fix the problem.
 
> When I open the plugin manager, Geany sends a number of messages to stderr. Imagine if even just the "critical" ones created pop-ups?
> 
> ```
> (geany:5239): Gtk-WARNING **: 09:57:22.467: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
> [...]
> ```
These are not messages sent from Geany targetted to the user to notify her/him about a problem relevant for her/him.
These are warnings from GTK and rather targetted to developers. But why these messages appear and how to fix them is a whole another story (and there exists already an issue for).

> > I noticed the use case in #2863 but I'm not sure whether this is worth a new option and handling it at all.
> 
> Geany previously allowed users to have read-only project files without nagging them. 

I doubt that this is true. At least it was no intended feature, this contradicts the whole idea of project files. It might be that it worked somehow but I still don't consider this a valid, common use case.


-- 
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-962694168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211107/1a5823a6/attachment.htm>


More information about the Github-comments mailing list