Bug 131737 - EDITING: HANG: scrolling document with 1 paragraph and 1 image anchored to character
Summary: EDITING: HANG: scrolling document with 1 paragraph and 1 image anchored to ch...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
5.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: perf
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
Reported: 2020-03-31 11:13 UTC by Xisco Faulí
Modified: 2022-04-19 08:52 UTC (History)
4 users (show)

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

sample file (35.46 KB, application/vnd.oasis.opendocument.text)
2020-03-31 11:13 UTC, Xisco Faulí
perf flamegraph (103.60 KB, application/x-bzip)
2020-03-31 17:09 UTC, Julien Nabet

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2020-03-31 11:13:00 UTC
Created attachment 159186 [details]
sample file

Steps to reproduce:
1. Open attached document
2. Try to scroll down and up

-> it hangs

Reproduced in

Build ID: 11e6582b23b983fde4b04ece5b37c546bcd98a43
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded


Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)
Comment 1 Xisco Faulí 2020-03-31 11:13:39 UTC
@Julien, would it be possible to have a perf graph for this issue ?
Comment 2 Xisco Faulí 2020-03-31 11:14:58 UTC
Just for the record, the issue became more evident after https://cgit.freedesktop.org/libreoffice/core/commit/?id=a7528cd6f17ea5c5b29e7d607e54c62de0d9e7db, inserting the image at the end of the first page, but it's not the cause of the issue.

@Miklos, I thought you might be interested in this issue...
Comment 3 Julien Nabet 2020-03-31 17:09:41 UTC
Created attachment 159191 [details]
perf flamegraph

Here's a Flamegraph retrieved on pc Debian x86-64 with master sources updated today.
Comment 4 Julien Nabet 2020-03-31 17:10:22 UTC
Let's put this one to NEW since indeed it hangs when scrolling.
Comment 5 QA Administrators 2022-04-19 03:26:27 UTC Comment hidden (obsolete)
Comment 6 Telesto 2022-04-19 08:52:28 UTC
Still present
Version: / LibreOffice Community
Build ID: fbf739198aa7f02975d531521c6525073783c7f1
CPU threads: 8; OS: Mac OS X 12.2.1; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded