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

--- Comment #9 from Mike Kaganski <[email protected]> ---
(In reply to V Stuart Foote from comment #7)
> (separate threads of course).

Let me clarify why even separate threads is a no-go.

We have a long-standing need to implement separate thread(s) to get the
documents availability and password-protected state (e.g., tdf#101302). But
both those tasks do not require full loading of the documents, only accessing
on disk, and reading some small part. OTOH, drawing a thumbnail is necessarily
only possible after full load and layout. Loading of the documents is *much*
longer process, sometimes taking tens of minutes with large documents; the
loading is implemented with heavy use of our central SolarMutex, only allowing
to load one document at a time; and sometimes loading crashes or hangs. When
user opens a document, they see which document fails, and have some control
over that; they may decide to not open it again after crash, or try to do
something smart (open using some specific filter). When the loading would be
attempted automatically just to make thumbnails consistent with the theme, you
are in trouble.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to