Bug 145330 - Performance problem with extrusion of Fontwork shape
Summary: Performance problem with extrusion of Fontwork shape
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2021-10-26 17:25 UTC by Regina Henschel
Modified: 2022-11-21 15:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
two Fontwork shapes to test toggle to extrusion (13.03 KB, application/vnd.oasis.opendocument.presentation)
2021-10-26 17:25 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-10-26 17:25:41 UTC
Created attachment 175938 [details]
two Fontwork shapes to test toggle to extrusion

Open attached document. It contains the shapes "Simple" and "Open" from the Fontwork-Gallery.

Click on "Simple" and toggle extrusion. It reacts immediately.
Click on "Open" and toggle extrusions. It lasts 2 seconds until it is extruded. In a debug-build it last 14 seconds until it is extruded.

The problem seems to be the area fill "None" of the "Open" shape.

I see the problem in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 542a38de1a071f54f61806683dafea84e43edce9
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL

and in debug-build
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ca74611acfef50280a2c1f785448d9a09cca5a0d
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

In LibreOffice 3.5.4.2 
Build ID: 165a79a-7059095-e13bb37-fef39a4-9503d18
both shapes toggle immediately to extrusion mode.
Comment 1 Regina Henschel 2021-11-05 13:24:53 UTC
It seems the problem is with method "ConvertToContourObj". You get a similar delay if you use context menu > 'Convert' > 'To Contour' on the shape "Open".
Comment 2 Buovjaga 2022-11-21 15:43:05 UTC
Lag confirmed.

Bibisected with linux-41max to range https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=6166282edeb1a5c44d34d4824eab1f82b6e7b15a..235941bcd0e59c2831d5bc28683119eb6a2fd982

The range has some work from Armin that sounds relevant, like
https://cgit.freedesktop.org/libreoffice/core/commit/?id=42b4dc4f8cad68ebd1386c5b8ea76ffaf59fdeb4
Related: #i120569# Corrected 3D object creations

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: deb7bc82de19ea8e20c767fdf21f9ba4feb5e9f0
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo

Arch Linux 64-bit
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.4.2-2
Calc: threaded