diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2025-02-07 14:09:22 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2025-02-11 16:48:27 +0100 |
commit | 5300efbbb13c73d7d5d17cd9834f9cb118657915 (patch) | |
tree | e2323dc3ec3eecb2d54681c3fb57648a3a73a3f8 /avmedia/source/quicktime/avmediaQuickTime.component | |
parent | 9647aded124c17e97db1bf7bb071136c7f91cb90 (diff) |
Large enough documents significantly faster on the desktop than in LOK
mode for some reason.
Investigating the reason, it turns out that the layout mechanism to
layout the visible area (first page, typically) of the document as part
of doc load goes wrong in the LOK case, where nominally the entire
document is visible.
Fix the problem by adding new "ClientVisibleArea" option to
lo_documentLoadWithOptions(), so the LOK client can inform us about what
is the visible area before SwXTextDocument::setClientVisibleArea() can
be called.
lok::Office::documentLoad() cost for the bugdoc:
- before: 540 ms
- after: 112 ms
Change-Id: Ib1df71e768fc42cf92b858a717d7a0e5d51678b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181426
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'avmedia/source/quicktime/avmediaQuickTime.component')
0 files changed, 0 insertions, 0 deletions