Description: When opening an attached docx document that contains one nested table within another table, it takes a long time to open. Opening such documents can take from 2 to 10 minutes or more, depending on the device configuration. It seems that the problem appeared between 7.6 and 24.2, after the addition of floating table support. Steps to Reproduce: Open attached docx document Actual Results: The document will take a long time to open. Expected Results: The document will open quickly Reproducible: Always User Profile Reset: No Additional Info: Repro with: Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 38a4d3f0b095f70deaf1c25617b5f8b378f31626 CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb) Locale: ru-RU (ru_RU.UTF-8); UI: en-US Calc: CL threaded
Created attachment 199669 [details] Problematic document with a nested table
Hello Amin Irgaliev, Thank you for reporting the bug. I can confirm that the bug is present in master. Version: 25.2.0.3 (X86_64) / LibreOffice Community Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069 CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded During opening the file LO Calc and Wtiter stop responding.
Confirm with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7c806a668530f25730717a12e6f97972f69d9c09 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Works in Version: 7.3.7.2
This seems to have begun at the below commit in bibisect repository/OS XXXX. Adding Cc: to XXX ; Could you possibly take a look at this one? Thanks 13b05ec1fc28d3a6bee787dfd84dcbd14475bb84 is the first bad commit commit 13b05ec1fc28d3a6bee787dfd84dcbd14475bb84 Author: Jenkins Build User <tdf@maggie.tdf> Date: Tue Oct 3 18:21:38 2023 +0200 source 63a5c6350f8930774c651a9cf41521606ecb6a94
Looks like this started with ce2fc5eb29b4e252993b549dee002fa8948c8386 tdf#158341 sw floattable: fix layout loop when fly is below the body frame
Thanks for the bisect. By now I think there are some 7 sw floattable bugs like this in the bugzilla. Unfortunately these are far from trivial to fix. I hope to find time to progress with them in the not too distant future.
Created attachment 200019 [details] forum-mso-de-81722.docx Another sample affected by this commit: forum-mso-de-81722.docx. For the record, Word considers the first attachment, attachment 199669 [details] corrupt, and only opens it after recovery.