<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LO exits abruptly when logging off in Windows while LO is running"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=109085">109085</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LO exits abruptly when logging off in Windows while LO is running
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.0.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>framework
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>baron@caesar.elte.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mikekaganski@hotmail.com, szymon.klos@collabora.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In Windows, log off with a LibreOffice instance running (with a file or at
least an empty document open).
After logging back in, start LO again.

=> LO opens with recovery dialog, meaning it didn't exit properly.
Alternatively, before starting LO look in the user profile directory, and note
the lock file (named ".lock") there, implying the same.

While it's true Windows forcibly shuts down applications refusing to exit after
a while when ending a user session, LO closes right away, but not cleanly. We
should make an attempt at shutting down properly.

Observed using LO 5.4.0.1 / Windows 7.

Likely relevant:
<a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa376890(v=vs.85).aspx">https://msdn.microsoft.com/en-us/library/windows/desktop/aa376890(v=vs.85).aspx</a>
<a href="http://opengrok.libreoffice.org/xref/core/vcl/win/window/salframe.cxx#5705">http://opengrok.libreoffice.org/xref/core/vcl/win/window/salframe.cxx#5705</a></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>