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

            Bug ID: 164218
           Summary: The time it takes to insert an image increases the
                    further the image is inserted into the document
           Product: LibreOffice
           Version: 24.8.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I have a 450 pages long document (.odt) with ~300 images. Inserting an image
through the "Insert image" dialog became progressively slower as the document
increased in size. What I've noticed is that the further into the the document
I insert an image the more time it takes to finish insertion (showing "not
responding" in the meantime). For example, inserting an image near the start of
the document takes 1 second but inserting the same image at the end of the
document can take up to 20 seconds. All images are SVG with file sizes in the
tens of kilobytes.

After inserting an image, copying & pasting it around the document is very
fast. The document itself once loaded is also very responsive. 

My workaround at the moment is to insert an image at the start of the document
and then cut/paste at the desired location at the end of the document.

Unfortunately I can't share the document as the information contained is
confidential


Steps to Reproduce:
- Open a large document with lots of images
- Insert an image at the end of the document
- Repeat insertion at the start of the document

Actual Results:
Image insertion time is much slower at the end of a large document compared to
the start of the document

Expected Results:
Image insertion time should be consistent throughout the document and it
shouldn't be as large as 20 seconds


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to