Bug 143852 - FILEOPEN: files with images take longer to open
Summary: FILEOPEN: files with images take longer to open
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Mike Kaganski
Whiteboard: target:7.3.0
Keywords: bibisected, bisected, perf, regression
Depends on:
Reported: 2021-08-13 08:42 UTC by Xisco Faulí
Modified: 2021-08-18 08:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2021-08-13 08:42:16 UTC
Step to reproduce:
1. Open attachment 53342 [details] from bug 42753

in master it takes

real	0m41,662s
user	0m40,970s
sys	0m0,525s

while in previous versions it takes

real	0m6,444s
user	0m5,726s
sys	0m0,561s

Reproduced in

Version: / LibreOffice Community
Build ID: 6daf48b50e1ff3bdd6a9f948c3e267e76b8a89d3
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2021-08-13 08:42:48 UTC
attachment 45188 [details] from bug 35931 is also affected by this issue
Comment 2 Xisco Faulí 2021-08-13 08:43:46 UTC
Regression introduced by:


author	Mike Kaganski <mike.kaganski@collabora.com>	2021-08-06 11:35:49 +0200
committer	Mike Kaganski <mike.kaganski@collabora.com>	2021-08-06 14:14:20 +0200
commit b791974837a99ead793b4ead6760b2f4e5237de2 (patch)
tree c479e0fb9cbb0a23da57505e1e399eb90cc3d446
parent 6c487d2d7e8aa5cdef55cbd7bc78058184671d82 (diff)
Move ActionLockGuard up a bit

Bisected with: bibisect-linux64-7.3

Adding Cc: to Mike Kaganski
Comment 3 Xisco Faulí 2021-08-13 08:53:40 UTC
attachment 127217 [details] from bug 101989 is also affected. Before the commit it takes

real	0m16,500s
user	0m15,713s
sys	0m0,709s

and after it takes forever ( or almost, I killed it after 3 minutes )
Comment 4 Mike Kaganski 2021-08-13 08:58:15 UTC
Comment 5 Commit Notification 2021-08-13 14:11:55 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":


tdf#143852: Revert "Move ActionLockGuard up a bit"

It will be available in 7.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 6 Xisco Faulí 2021-08-15 16:19:18 UTC
Commit reverted, closing as RESOLVED FIXED