<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Writer hangs when opening a simple .ott template"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124714#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Writer hangs when opening a simple .ott template"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124714">bug 124714</a>
              from <span class="vcard"><a class="email" href="mailto:roland65@free.fr" title="Roland Baudin <roland65@free.fr>"> <span class="fn">Roland Baudin</span></a>
</span></b>
        <pre>I finally found the cause of the issue... and the solution.

First, the problem only occurs in Linux and is indeed related to the fact that
my template XDG directory in the file ~/.config/user-dirs.dirs was set to:

XDG_TEMPLATES_DIR="$HOME/"

I didn't pay attention to the trailing slash in "$HOME/", because everything
was OK for years until LibreOffice 6.2.2.1. That trailing slash was here by
mistake, I suppose...

Something has changed from that version, because if I remove the trailing slash
like this:

XDG_TEMPLATES_DIR="$HOME"

then the problem I've reported disappears, and also <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Template manager broken since version 6.2.2.1 for Linux"
   href="show_bug.cgi?id=124644">bug #124644</a> doesn't occur.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>