After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 659318 - Set initial content for new documents
Set initial content for new documents
Status: RESOLVED WONTFIX
Product: gnoduino
Classification: Other
Component: general
0.3.99
Other Linux
: Normal enhancement
: ---
Assigned To: Gnoduino maintainer(s)
Gnoduino maintainer(s)
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2011-09-17 14:50 UTC by Claude Paroz
Modified: 2020-10-02 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Set initial content for new documents (1013 bytes, patch)
2011-09-17 14:50 UTC, Claude Paroz
none Details | Review

Description Claude Paroz 2011-09-17 14:50:10 UTC
Created attachment 196805 [details] [review]
Set initial content for new documents

As all arduino programs have the same structure, I suggest to initialize new documents with the standard structure.
Comment 1 Lucian Langa 2011-09-19 19:18:46 UTC
I like this, however this requires more work and more headaches.
Basically we need to fix changed/unchanged behaviour (* in the name tab), undo/save/quit operation - we need to compare the buffer against this structure. It is OK if somebody wants to write a new pde but it could be annoying if you want to write a library (I have no idea how often that could occur tho). While we could fix all of those, perhaps we can handle this differently, my thoughts is providing drop down option for the New button (clicking "V" symbol beside the New button - eg. Evolution New behaviour) and/or a popup with all those options and/or use this by default option to mimic the behaviour you suggest.
Thoughts?
Comment 2 Claude Paroz 2011-09-19 20:05:55 UTC
I'm not sure to understand what you mean by fixing the changed/unchanged behaviour. What's the problem currently?

I understand .pde files are not the only files which can be created in gnoduino. But if they represent 95% of use cases, I think that simply clearing the default pde template is not so annoying.

Of what you proposed, the submenu to the New button is preferred. Having a popup each time I create a new document is not nice, IMHO.
Comment 3 André Klapper 2020-10-02 14:17:51 UTC
Gnoduino is not under development anymore. Its codebase has been archived.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/437

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.