https://bugs.documentfoundation.org/show_bug.cgi?id=103641
--- Comment #14 from Aleksander Machniak <[email protected]> ---
(In reply to Pranav Kant from comment #12)
> Another problem here is that view information (number of users editing the
> document; their color, names etc.) is available only after document load
> finishes and currently App_LoadingStatus is emitted before that (when frame
> becomes ready) which means you can't send 'Get_Views' command (as opposed to
> what WOPI expects I guess) until document is loaded.
I don't really use Get_Views since I observed that View_Added is also
sent for the current user.
> There are two possible solutions
>
> 1. We can delay the App_LoadingStatus to emit after document is loaded, but
> then you won't be seeing any loleaflet's spinner till document is fully
> loaded and all tiles are visible. We only have a rotating spinner as of now,
> but we will have a progress bar there in future showing % of document load
> which can be quite useful information to show to the user (especially for
> large documents).
Loading spinner is not a big problem, I have a loading spinner on host
page too (in the page corner, so less significant, but still).
Displaying percentage would be useful though for bigger documents.
> 2. We can keep App_LoadingStatus before document load (in its current form)
> but add a new post message API - 'Document_Loaded' that tells outer frame
> that it can now use 'Get_View'
I think I could accept this solution if there's no other option.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs