Bug 167861 - sw floattable: Border error in intermediate pages when floating table breaks to three or more pages
Summary: sw floattable: Border error in intermediate pages when floating table breaks ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Table-Borders
  Show dependency treegraph
 
Reported: 2025-08-08 09:08 UTC by 林博仁 Buo-ren Lin
Modified: 2025-08-08 17:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document of bug 156351 that is modified to apply to this bug. (10.31 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-08-08 09:18 UTC, 林博仁 Buo-ren Lin
Details
Sample document created using the attached bug reproduction instructions (8.77 KB, application/vnd.oasis.opendocument.text)
2025-08-08 09:19 UTC, 林博仁 Buo-ren Lin
Details
Sample document created using the attached bug reproduction instructions(PDF export) (59.99 KB, application/pdf)
2025-08-08 09:21 UTC, 林博仁 Buo-ren Lin
Details
Sample document of bug 156351 that is modified to apply to this bug.(PDF export) (37.74 KB, application/pdf)
2025-08-08 09:22 UTC, 林博仁 Buo-ren Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 林博仁 Buo-ren Lin 2025-08-08 09:08:21 UTC
Description:
This is very similar to bug 156351, except when the floating table spans more than two pages, the top and bottom sides of the virtual outer borders of the table **in the intermediate pages** are not rendered as outer borders.

Steps to Reproduce:

1. Create a new text document.
2. Select Table > Insert Table... menu option to open the Insert Table dialog.
3. In the Insert Table dialog, fill in `2` in the General > Column text field and `120` in the General > Rows text field.
4. Click the Insert button at the bottom of the window to insert the table and close the Insert Table dialog.  This should create a big table that spans approximately 3 pages(if not, add new rows to the table until it does).
5. Select any cell in the table, then select the Table Properties... option in its contextual(right-click) menu.
6. In the Table Properties dialog, select the "Outer Border Only" preset(check the tooltip of each option) in the Line Arrangement > Presets field of the Borders tab, then set the Thickness field in the Line section to Thick for better observation of the borders.
7. Click the OK button at the bottom to apply the settings and close the Table Properties dialog.
8. Observe the borders in the **second** page.


Actual Results:
The virtual _top_ and _bottom_ outer borders of the second(and any intermediate pages if you increase the table rows to let it span more than 3 pages) are not rendered as outer borders.

Expected Results:
The virtual _top_ and _bottom_ outer borders of the second(and any intermediate pages if you increase the table rows to let it span more than 3 pages) are rendered as outer borders.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
Calc: threaded

Also reproduced on the following development revision:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e03da71738c72bbaecb824b4ba356a0a9923a0ff
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: zh-TW (zh_TW.UTF-8); UI: en-US
Calc: threaded
Comment 1 林博仁 Buo-ren Lin 2025-08-08 09:17:04 UTC
CC-ing Miklos as they have dealt with bug 156351.
Comment 2 林博仁 Buo-ren Lin 2025-08-08 09:18:33 UTC
Created attachment 202239 [details]
Sample document of bug 156351 that is modified to apply to this bug.
Comment 3 林博仁 Buo-ren Lin 2025-08-08 09:19:52 UTC
Created attachment 202240 [details]
Sample document created using the attached bug reproduction instructions
Comment 4 林博仁 Buo-ren Lin 2025-08-08 09:21:15 UTC
Created attachment 202242 [details]
Sample document created using the attached bug reproduction instructions(PDF export)
Comment 5 林博仁 Buo-ren Lin 2025-08-08 09:22:32 UTC
Created attachment 202243 [details]
Sample document of bug 156351 that is modified to apply to this bug.(PDF export)