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@lists.freedesktop.org
          Reporter: pran...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to