<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 - admin-console: no indication when wsd shuts down"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116231">116231</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>admin-console: no indication when wsd shuts down
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>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>LibreOffice
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>pranavk@collabora.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While wsd is running, open the admin console

Now Ctrl + C to stop the wsd process. The admin console should show the user
that Online was shut down. Worse, when the wsd is restarted, the admin-console
screen is not updated accordingly; it keeps showing the stale view from the
previous launch.

An error box or the overlay saying that wsd has been shut down sounds good to
me which refreshes the page with the new WS connection whenever user clicks on
the overlay. THis is similar to when the document becomes inactive after 5
minutes or so.

how to hack:
Check what web socket messages we receive when wsd shuts down in the backend
and handle it appropriately in the admin websocket. One can check the websocket
handling for the documents in src/core/Socket.js and do something similar with
the admin websocket. Code for admin websocket is in loleaflet/src/admin/</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>