<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true">
<br>
<div class="moz-cite-prefix">On 17/06/2020 9:05, Richard
Duivenvoorde wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7192a2c2-7ccd-a09a-e68c-7bc3ecccb205@duif.net">
<pre class="moz-quote-pre" wrap="">On 6/17/20 12:28 AM, Nyall Dawson wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On Wed, 17 Jun 2020 at 08:22, Nyall Dawson <a class="moz-txt-link-rfc2396E" href="mailto:nyall.dawson@gmail.com"><nyall.dawson@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
On Wed, 17 Jun 2020 at 05:28, Micha Silver <a class="moz-txt-link-rfc2396E" href="mailto:tsvibar@gmail.com"><tsvibar@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Even though I've been using QGIS for many years, I'm still confused by the concept of templates. When I create a basic project (currently using 3.10 on Linux) and choose "Save to..." and select "templates", a *.qgz file is indeed created in my templates directory. When I restart QGIS and select "New from template" that template project is opened. But then, any further changes are saved back to the template unless I explicitly do "Save as...". I would expect that "New from template" should open a *new* project with all the elements from the template, but not allowing to alter the original template.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
This definitely sounds like a bug, and a serious one at that! I'll see
if I can resolve for 3.14...
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Actually, I can't reproduce either issue on 3.14
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
I am pretty sure I have the same feeling as Micha, that something
sometimes is going wrong. I end up with a template (or default
project??) which holds layers from an earlier project.
But I try to reproduce now and I can't. Only thing I see is that if I
use the 'create new project from default project' from
settings/options/general (after setting the current project as default),
I see a 'project_default' in my 'Project/Open Recent' list...
So it maybe that I sometimes open that one... and as it is not a
template, it just opens as the default project and I save stuff in that
one...</pre>
</blockquote>
<p><br>
</p>
<p>I think that Richard explained better than me. But I'll give
another try, hoping not to confuse more.</p>
<p><br>
</p>
<p>In other GIS software, or office programs, when you open a new
document/project based on a template you get a *new* document.
When you then do "Save..." the usual "File save" dialog opens to
save to a new file. In the case of QGIS, when you use the "New
from template..." option, it seems that you are actually opening
the template project. Then, if you click "Save" (before "Save
as...") any changes get saved back to the template. That's not
what I would expect. Starting a project with "New from template"
should load all the layers and configurations from the template
project into a new "Untitled Project". Then "Save" would allow to
choose the target directory and project file name.<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:7192a2c2-7ccd-a09a-e68c-7bc3ecccb205@duif.net">
<pre class="moz-quote-pre" wrap="">
So maybe the concepts 'default project' and 'template' mix up?
There is also the 'Open project on launch'/specific project which you
can set...
I understand all are more or less different, but maybe that is too much
concepts for the average Joe like me?
What is a 'default' project: is it a 'give me always those reference
layers-TEMPLATE or is it a template I always work on (which you then
(partly) can set with 'Open project on Launch'
What about:
- remove the 'set current project as default' stuff from the settings
- our old 'new project' icon (the white sheet) get's that little drop
down sign next to it, and:
- clicking the new project shows a dropdown with the templates</pre>
</blockquote>
<p><br>
</p>
<p>Sounds good to me. Providing that you actually get a new
"Untitled project" with the template configurations and layers.</p>
<p><br>
</p>
<p>Thanks, Micha</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:7192a2c2-7ccd-a09a-e68c-7bc3ecccb205@duif.net">
<pre class="moz-quote-pre" wrap="">
Any interaction guru's here?
Regards,
Richard Duivenvoorde
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
<a class="moz-txt-link-freetext" href="https://orcid.org/0000-0002-1128-1325">https://orcid.org/0000-0002-1128-1325</a></pre>
</body>
</html>