[Libreoffice-bugs] [Bug 116231] New: admin-console: no indication when wsd shuts down

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 6 12:04:51 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116231

            Bug ID: 116231
           Summary: admin-console: no indication when wsd shuts down
           Product: LibreOffice Online
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: pranavk at collabora.co.uk

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/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180306/72f356f7/attachment.html>


More information about the Libreoffice-bugs mailing list