Bug 133340 - Slow and choppy slides (with large GIF) after save (fine on file opening) & slow save
Summary: Slow and choppy slides (with large GIF) after save (fine on file opening) & s...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks: Regressions-imageHandling
  Show dependency treegraph
 
Reported: 2020-05-24 09:36 UTC by Telesto
Modified: 2025-11-26 14:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (5.11 MB, application/vnd.oasis.opendocument.presentation)
2020-05-24 09:36 UTC, Telesto
Details
Bibisect log (2.91 KB, text/plain)
2020-05-24 09:54 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-24 09:36:16 UTC
Description:
Slow and choppy slides (with large GIF) after save (fine on file opening)

Steps to Reproduce:
1. Open the attached file
2. Move around.. everything is rendering fine.
3. Press Save ..
4. Click around.. first appears to be fine.. but few moments later.. and the animations start to lag

Actual Results:
Lagging slow

Expected Results:
Same speed


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha1+ (x64)
Build ID: b587de60d4e6aa96238766272d94f1499b22f696
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-05-24 09:36:38 UTC
Created attachment 161222 [details]
Example file
Comment 2 Telesto 2020-05-24 09:54:16 UTC
Created attachment 161223 [details]
Bibisect log

Bisected to
author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	2018-04-14 15:13:05 +0900
committer	Tomaž Vajngerl <quikee@gmail.com>	2018-04-20 09:15:22 +0200
commit 7b355669c6ddeab2e6cec692d6afdff41c61d0fb (patch)
tree 46c55326bccfa68a2bb5fad6d637e0f4576c8d68
parent 663fd3d6e1f93ec989dc289e688d5dbfe434cbca (diff)
Function to load graphic swapped out (loaded on demand)
When a document is loaded it takes a lot of time and memory to
load the graphic that are in the documet, so avoid that and just
store the compressed graphic into a temporary file (handeled by
GfxLink) and load when we really need to show the graphic.

GraphicObject cached some attributes from Graphic, but this
attributes now aren't available immediately so this attributes
are removed form GraphicObject and now delegate to the Graphic
itself. GetSizeBytes attribute however was removed as it is
only used in some tests.

GfxLink initial values were moved to the constructor and are
not set in the header file anymore (as it is the recommended
way to do it).

The SdImportTest::testDocumentLayout failed as it looks like the
dump sometimes didn't include the width and height of the null
bitmap (which is set to 32x32) of the FillBitmap in some
situations, but then in other situations it did include this
attributes. With this change the width and height are always
included for the FillBitmap which looks like it is more correct

https://cgit.freedesktop.org/libreoffice/core/commit/?id=7b355669c6ddeab2e6cec692d6afdff41c61d0fb
Comment 3 Abhi 2020-06-17 00:54:03 UTC
Thank you for reporting the bug. I can confirm that the bug is present in version: 6.4.4.2 and version 7.1.0.0.alpha0
Comment 4 Telesto 2021-03-09 18:39:23 UTC
Still around
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: dc3b64dcbfb0a49c0be65bd8d73ed4e6d3828a21
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 5 QA Administrators 2023-03-10 03:26:48 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2025-05-10 03:11:27 UTC Comment hidden (obsolete)
Comment 7 Gabor Kelemen (Collabora) 2025-11-26 14:52:43 UTC
I can not reproduce this anymore in: 

Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 24; OS: Windows 10 X86_64 (build 19045); UI render: default; VCL: win
Locale: de-AT (hu_HU); UI: de-DE
Calc: threaded

while in previous versions including 25.2.0 I saw the slowdown after just saving the example file.