This bug is meant to document the efforts around multi-page floating tables in Writer. Progress so far was documented in bug 157119, but many related problems are still there.
https://gerrit.libreoffice.org/c/core/+/158978 is work towards an insert frame UI. This is already working on the desktop, but the async / jsdialog bits were missing for LOK clients.
https://gerrit.libreoffice.org/c/core/+/159050 fixes the default frame width on inserting a new frame.
https://gerrit.libreoffice.org/c/core/+/159104 fixes the default floating table width, to inherit it from the underlying table.
https://gerrit.libreoffice.org/c/core/+/159201 fixes the missing "floating table" checkbox in the insert frame dialog when an entire table is selected.
https://gerrit.libreoffice.org/c/core/+/159261 fixes the bad default anchor of new text frames: now the default is consistent with images and only floating tables default to at-para.
https://gerrit.libreoffice.org/c/core/+/159354 fixes the undo/redo support for the floattable insert UI.
131bd6561c82c4a5e408c705cd94cf6452de8dc5 fixes the not wanted border / spacing when turning an inline table into a floating one.
https://gerrit.libreoffice.org/c/core/+/159429 fixes an unexpected half-border problem. (Border is inferred, but only partially.)
https://gerrit.libreoffice.org/c/core/+/159493 fixes the old-style unfloat button to work again after welding. this is for legacy ODT files, but it's a good starting point to have it working again.
https://gerrit.libreoffice.org/c/core/+/159550 adds a context menu item to unfloat tables, i.e. floattable delete UI.
https://gerrit.libreoffice.org/c/core/+/159730 fixes undo/redo for the delete/unfloat UI
Created attachment 190927 [details] Layout crash I attach a simplified DOCX bugdoc. The original one is 8 pages and is a binary DOC one, but this is created from scratch (so can be published) and seems it triggers the same problem.
https://gerrit.libreoffice.org/c/core/+/159802 fixes the crash with the above bugdoc
https://gerrit.libreoffice.org/c/core/+/159847 starts adding support for per-frame "wrap an all pages", as required by https://issues.oasis-open.org/browse/OFFICE-4150
https://gerrit.libreoffice.org/c/core/+/159888 adds uno api for the per-frame wrap-on-all-pages mode
https://gerrit.libreoffice.org/c/core/+/160010 adds ODT filter for the per-frame wrap-on-all-pages mode
https://gerrit.libreoffice.org/c/core/+/160061 fixes a layout loop from bug 158341
Created attachment 191131 [details] Mouse click problem reproducer Open this document and click slightly on the right of the table on page 1. The cursor will jump to the second page, i.e. the anchor paragraph on the last page of a multi-page floating table. The same works for inline tables as expected.
https://gerrit.libreoffice.org/c/core/+/160194 fixes the above problem
Created attachment 191213 [details] Smaller reproducer for bug 60558 I started to look at this, let's ignore the complex shapes in table cells for now, they are probably not relevant for the root of the bug.
https://gerrit.libreoffice.org/c/core/+/160331 fixes inline tables wrapping around floating tables.
I've investigated bug 137859, but it turns out it's the same problem what I fixed for bug 158341, so it's a duplicate.
Created attachment 191351 [details] Anchor text loop Place the cursor between "A" and "B" at the end of the document. Press enter -> layout loop. I'm looking into this.
https://gerrit.libreoffice.org/c/core/+/160608 fixes the layout loop for the above scenario.
https://gerrit.libreoffice.org/c/core/+/160669 fixes the odd behavior when splitting the anchor text at the paragraph start
https://gerrit.libreoffice.org/c/core/+/160748 finishes the anchor split topic
https://gerrit.libreoffice.org/c/core/+/160814 disables floating tables in shape text (similar to how the Word UI is disabled); so users less likely create documents which can't save to Word formats
Started on bug 158686, a crash on switching to print preview, regression from this work.
https://gerrit.libreoffice.org/c/core/+/160925 fixes bug 158686.