Bug 170381 - Some documents with floating tables hang on opening
Summary: Some documents with floating tables hang on opening
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:26.8.0 target:26.2.1
Keywords:
: 164931 (view as bug list)
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2026-01-18 12:15 UTC by Mike Kaganski
Modified: 2026-02-03 03:58 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample 1 (13.62 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2026-01-18 12:15 UTC, Mike Kaganski
Details
Sample 2 (14.29 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2026-01-18 12:16 UTC, Mike Kaganski
Details
PDF by LibreOffice (40.31 KB, application/pdf)
2026-02-02 19:12 UTC, Telesto
Details
PDF by Word (118.66 KB, application/pdf)
2026-02-02 19:12 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2026-01-18 12:15:23 UTC
Created attachment 205079 [details]
Sample 1

Open the attachment in Writer. It hangs.
Comment 1 Mike Kaganski 2026-01-18 12:16:07 UTC
Created attachment 205080 [details]
Sample 2

This also hangs.
Comment 2 m_a_riosv 2026-01-18 13:34:22 UTC
Reproducible with
Version: 26.2.0.1 (X86_64)
Build ID: 620(Build:1)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded

Both files have tables.
Comment 3 Mike Kaganski 2026-01-18 16:52:50 UTC
https://gerrit.libreoffice.org/c/core/+/197524
Comment 4 Commit Notification 2026-01-19 08:22:27 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/fb203eb57a1ba0accf1894672d35ddf9430d8b05

tdf#170381: try to avoid handling of split-but-not-yet-moved floating tables

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Xisco Faulí 2026-01-20 09:55:41 UTC
Verified in

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 8fb5be18f8febe88f7d0b72e4b30efd41891feb7
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

@Mike, thanks for fixing this issue
Comment 6 Commit Notification 2026-01-20 09:59:48 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

https://git.libreoffice.org/core/commit/a5ee5df9ac0db0f34c653ff20cb2c7e554a99f48

tdf#170381: try to avoid handling of split-but-not-yet-moved floating tables

It will be available in 26.2.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Buovjaga 2026-01-31 15:27:11 UTC
*** Bug 164931 has been marked as a duplicate of this bug. ***
Comment 8 Buovjaga 2026-01-31 15:27:58 UTC
(In reply to Buovjaga from comment #7)
> *** Bug 164931 has been marked as a duplicate of this bug. ***

Quoting raal's comment 2 of older report:

This seems to have begun at the below commit in bibisect repository/OS linux-64-25.2.
Adding Cc: to Oliver Specht ; Could you possibly take a look at this one?
Thanks
 9b75e3f52c863d58df5fd7f4baa707a430a8bc51 is the first bad commit
commit 9b75e3f52c863d58df5fd7f4baa707a430a8bc51
Author: Jenkins Build User <tdf@maggie.tdf>
Date:   Fri Aug 30 18:22:52 2024 +0200

    source 4f5b896d004af023f210f235aeafa9abc50068d2

169611: tdf#155229 Calculate row height incl. border if 'atLeast' is set | https://gerrit.libreoffice.org/c/core/+/169611
Comment 9 Telesto 2026-02-02 19:12:21 UTC
Created attachment 205329 [details]
PDF by LibreOffice

Is the scope of the bug limited to be able to open the file? Or also layout similar to Word

Sample 2 (attachment 205080 [details]) is splitting differently across pages compared to Word

Version: 26.8.0.0.alpha0+ (X86_64) [build 2026-01-29]
Build ID: 680(Build:0)
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 10 Telesto 2026-02-02 19:12:50 UTC
Created attachment 205330 [details]
PDF by Word
Comment 11 Telesto 2026-02-02 19:24:33 UTC
(In reply to Telesto from comment #9)
> Created attachment 205329 [details]
> PDF by LibreOffice
> 
> Is the scope of the bug limited to be able to open the file? Or also layout
> similar to Word
> 
> Sample 2 (attachment 205080 [details]) is splitting differently across pages
> compared to Word
> 
> Version: 26.8.0.0.alpha0+ (X86_64) [build 2026-01-29]
> Build ID: 680(Build:0)
> CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster;
> VCL: win
> Locale: nl-NL (nl_NL); UI: en-US
> Calc: CL threaded

Hmm, in a couple of follow up attempts it renders fine.. odd
Comment 12 Mike Kaganski 2026-02-03 03:58:22 UTC
(In reply to Telesto from comment #9)
> 
> Is the scope of the bug limited to be able to open the file? Or also layout
> similar to Word

It is limited to opening / not hanging. Everything else needs own reports.