Bug 152298

Summary: Writer hangs when working with table (view, copy, paste, select, enter a cell) in *.docx document
Product: LibreOffice Reporter: Piotr Osada <piotr.osada>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: robert
Priority: medium Keywords: filter:docx
Version: 7.4.3.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103100    
Attachments: Compilation (empty tab+empty content).docx
Desktop recording of the document editing process

Description Piotr Osada 2022-11-29 14:40:56 UTC
Description:
As it is shown in attached movie writer is hanging/suspending when we scroll to a table in attached document.

Original document have 12 MB and contains more than 50 images. Attached one is an template of original witch the same arrangement of sections, captions, and tables. The table contains example data the in the same order as in original document.

Steps to Reproduce:
In original document:
1) Open document,
2) scroll down to the table,
3) Writer hangs (I don't know for how long).

In compilation (attached template)
1) Open document,
2) do something (click on cells, select ranges, drag and drop content, and ESPECIALLY: COPY AND PASTE some ranges),
3) Writer hangs (for 30 seconds or even for 2 minutes). 

Actual Results:
On Windows Writer responds after about 30-120 s.
On Linux it seems to last longer (I didn't get an answer. At least after one minute). 

Expected Results:
As in MS Word, Writer should respond within milliseconds (less than one second at worst).


Reproducible: Always


User Profile Reset: No

Additional Info:
"Config 4" - laptop

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: threaded

CPU: Intel Core i7-8565U @ 1.80 GHz
RAM: 24 GB, DDR4, 2400 MHz
SSD: Samsung 980 PRO 2 TB (more than 60% of free space)
Comment 1 Piotr Osada 2022-11-29 14:42:52 UTC
Created attachment 183889 [details]
Compilation (empty tab+empty content).docx

Template of 12 MB original document that causes even more intensive hangs.
Comment 2 Piotr Osada 2022-11-29 14:46:54 UTC
Created attachment 183890 [details]
Desktop recording of the document editing process

The video shows program hang when editing the table. In the original document, the program crashed after scrolling to the table.
Comment 3 Robert Großkopf 2022-11-30 13:57:22 UTC
Done this with the attached document:
Opened the document, scrolled down, clicked in the table, scrolled up. Scrolling up hangs.
Save the document as *.odt
Closed document, opened it again and down the same as described above. Couldn't detect any buggy behavior with document in *.odt-format.

Tested with
Version: 7.4.3.2 / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

under OpenSUSE 15.3

Changed the summary to show it is a special bug together with *.docx.