Bug 163708 - Freezes when opening a DOCX with floating table
Summary: Freezes when opening a DOCX with floating table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks: File-Opening DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2024-11-01 05:29 UTC by Pavel
Modified: 2024-11-04 14:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Freezes when opening (149.64 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-11-01 05:30 UTC, Pavel
Details
Freezes when scrolling (136.34 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-11-01 05:31 UTC, Pavel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel 2024-11-01 05:29:47 UTC
Description:
Freezes when opening a document. I tried it on versions 7.5, 24.2, 24.8.

Steps to Reproduce:
1. Open file.
2. I'm trying to scroll through a document.

Actual Results:
Freezing.

Expected Results:
Freely scroll through the document, edit.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 1 Pavel 2024-11-01 05:30:59 UTC
Created attachment 197327 [details]
Freezes when opening
Comment 2 Pavel 2024-11-01 05:31:36 UTC
Created attachment 197328 [details]
Freezes when scrolling
Comment 3 Stéphane Guillou (stragu) 2024-11-01 06:21:49 UTC
Using attachment 197327 [details] on Ubuntu 24.04:
- No repro on 7.5.1
- Repro the freeze with 7.6.1 and own build of today's sources:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6bd9f1f93301756bdc6fa57911d163e9fa5ad313
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2024-11-01 06:41:33 UTC
Bibisected with linux-64-7.6 repo to first bad build [fcf57c8efc126fb5a1cabefd2a3e8d33c57d5860] which points to core commit ce3308a926f036b87515b8cd97d2b197063dc77a, the commit that turned floating tables import on by default.

Using the option SW_FORCE_FLY_SPLIT=1, I could bibisect to the earlier build [4678abe6162fa40671a976ec7fb04e581240a852] which is:

commit d477fa8ac1b0d3ee81427217bbb5950278ab16db
author	Miklos Vajna Fri Mar 17 14:00:17 2023 +0100
committer	Miklos Vajna 	Fri Mar 17 14:10:34 2023 +0000
sw floattable: unconditionally map <w:tblpPr> to SwFormatFlySplit
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149044

Miklos, can you please have a look?
Comment 5 Miklos Vajna 2024-11-04 14:35:38 UTC
By now I think there are some 3 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.