<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Yes it does look like the support for extensions in some of the
      Linux libraries is a bit illiterate.  It would seem like since
      extensions are not actually required in Linux that the library
      creators have not fully understood how to handle them. Certainly
      notice issues with Gimp.<br>
    </p>
    <div class="moz-cite-prefix">On 23/07/23 21:34, Nyall Dawson via
      QGIS-User wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAB28AshwA4v60zwYMCNZtXirAVbOtbSgwLcna1etK6fcFjHd8g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Sun, 23 July 2023, 5:39
              pm Richard Duivenvoorde via QGIS-User, <<a
                href="mailto:qgis-user@lists.osgeo.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">qgis-user@lists.osgeo.org</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Roxo,<br>
              <br>
              You are right, I can confirm this with a very recent build
              of QGIS:<br>
              <br>
              - with extension we ask for confirmation of overwriting<br>
              - without extension we silently overwrite an old file<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">It's actually an operating system (well, gtk
          library) issue. The same thing happens in other apps too on
          that same platform.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Nyall</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              Please file an issue (<a
                href="https://github.com/qgis/QGIS/issues"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/qgis/QGIS/issues</a>),
              this seems easily fixable.<br>
              See <a
href="https://qgis.org/en/site/getinvolved/development/bugreporting.html#bugs-features-and-issues"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://qgis.org/en/site/getinvolved/development/bugreporting.html#bugs-features-and-issues</a><br>
              <br>
              Regards,<br>
              <br>
              Richard Duivenvoorde<br>
              <br>
              On 7/22/23 20:21, Fernando M. Roxo da Motta via QGIS-User
              wrote:<br>
              > <br>
              > <br>
              >    Hi all,<br>
              > <br>
              >    Today I was exporting some QGis projects as PNG
              images<br>
              > (project>import/export>export map to image). 
               At certain point I made<br>
              > a mistake and repeated the name of the previous map,
              and QGis happily<br>
              > overwrote the previous image, without asking before. 
              I tried to repeat<br>
              > the action giving the full name of the file
              (map10.png) and QGis asked<br>
              > for confirmation.    The difference was that the
              first time I gave jjust<br>
              > a name, without the "extension" .png.<br>
              > <br>
              >    It seems that even if QGis will give the default
              "extension" to the<br>
              > filename, it does not verify the prior existence of
              the file after it<br>
              > attach the "extension".<br>
              > <br>
              >    This was in a QGis 3.26.0 on Linux Xubuntu 20.04. 
               I know that both<br>
              > the QGis and system are kind of old, but if this
              "feature" is present<br>
              > in current versions it can be cumbersome.<br>
              > <br>
              > <br>
              > <br>
              >    Roxo<br>
              > <br>
              <br>
              _______________________________________________<br>
              QGIS-User mailing list<br>
              <a href="mailto:QGIS-User@lists.osgeo.org" target="_blank"
                rel="noreferrer" moz-do-not-send="true"
                class="moz-txt-link-freetext">QGIS-User@lists.osgeo.org</a><br>
              List info: <a
                href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
              Unsubscribe: <a
                href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-User mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-User@lists.osgeo.org">QGIS-User@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
  </body>
</html>