Bug 167865 - sw floattable: Virtual outer borders are not rendered as outer borders when horizontal inner lines are styled in floating tables that span multiple pages
Summary: sw floattable: Virtual outer borders are not rendered as outer borders when h...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Table-Borders
  Show dependency treegraph
 
Reported: 2025-08-08 10:40 UTC by 林博仁 Buo-ren Lin
Modified: 2025-08-08 10:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document created using the attached bug reproduction instructions (9.63 KB, application/vnd.oasis.opendocument.text)
2025-08-08 10:45 UTC, 林博仁 Buo-ren Lin
Details
Sample document created using the attached bug reproduction instructions(PDF export) (33.53 KB, application/pdf)
2025-08-08 10:46 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 10:40:52 UTC
Description:
When both outer border and horizontal inner lines are styled in the Borders tab of the Table Properties dialog of a floating table that spans at least two pages, the inter-page virtual outer borders are not rendered as outer borders but instead as inner line styles.

This problem is not reproduced if only vertical inner lines are styled.

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:
    + In the General section:
        - Fill in `2` in the Columns text field
        - Fill in `60` in the Rows text field. (Increase the number if the resulting table does not span 2 pages)
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 2 pages(if not, adding new rows to the table until it do).
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 (2.25pt) for better observation of the outer borders.  Then click the horizontal inner line in the Line Arrangement > User-defined graph then set the Thickness field in the Line section to Very thin (0.5pt).
7. Click the OK button at the bottom to apply the settings and close the Table Properties dialog.
8. Observe the _bottom_ virtual table border of page 1 and the _top_ virtual table border of page 2.


Actual Results:

The _bottom_ virtual table border of page 1 and the _top_ virtual table border of page 2 are not rendered in the outer border style but instead similar to the horizontal inner lines.


Expected Results:

The _bottom_ virtual table border of page 1 and the _top_ virtual table border of page 2 are rendered in the outer border style.



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 in 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 10:45:58 UTC
Created attachment 202248 [details]
Sample document created using the attached bug reproduction instructions
Comment 2 林博仁 Buo-ren Lin 2025-08-08 10:46:29 UTC
Created attachment 202249 [details]
Sample document created using the attached bug reproduction instructions(PDF export)
Comment 3 林博仁 Buo-ren Lin 2025-08-08 10:47:38 UTC
CC-ing Miklós Vajna, as they have dealt with this kind of bug before.
Comment 4 林博仁 Buo-ren Lin 2025-08-08 10:47:52 UTC Comment hidden (obsolete)