Bug 162103 - FILEOPEN DOCX Document with images anchored as and to character keeps CPU at 100%
Summary: FILEOPEN DOCX Document with images anchored as and to character keeps CPU at ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Images
  Show dependency treegraph
 
Reported: 2024-07-19 13:24 UTC by Buovjaga
Modified: 2024-09-24 15:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2024-07-19 13:24:24 UTC
1. Open attachment 170254 [details] from bug 140824

The neverending perf issue should be apparent right away, or you might try scrolling down.

Bibisected with linux-44max repo to 0a4d77f35e96e4dfdf69cc5ceb788ddaa849084c
SwTxtNode::Update: don't move anchors at insert position

The first three images are anchored As Character and the last one is To Character.
Comment 1 m_a_riosv 2024-07-20 01:00:41 UTC
Reproducible
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e9a37656b75b4ce82b3e48af727f03f386e64a08
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 2 Miklos Vajna 2024-09-24 15:05:04 UTC
Buovjaga: can you still reproduce this on master?

I tried with:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5aea0dd59cf15c0f93d432aa722c1e0e1df703e4
CPU threads: 12; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

I.e. master as of ~today. It seems to be OK, but I may miss something. Thanks.
Comment 3 Buovjaga 2024-09-24 15:17:24 UTC
Oh, that's nice to see after just a few months for something introduced in 4.4 :) Both Windows and Linux are fine for me and PDF is exported instantly (one of the complaints in bug 140824).