Bug 166223 - If you add rows or columns to a 1x1 table, the cell borders are not displayed.
Summary: If you add rows or columns to a 1x1 table, the cell borders are not displayed.
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All All
: medium minor
Assignee: Karthik
URL: https://karthikreddy.org/libreoffice/...
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2025-04-17 10:30 UTC by enrico
Modified: 2025-10-23 14:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enrico 2025-04-17 10:30:32 UTC
Description:
adding rows or columns by pressing the corresponding command buttons does not display the borders of the rows and columns. To display them, you must select the table, press the borders button and select the option to also display the internal lines.

Steps to Reproduce:
1. insert a 1x1 table
2. click one of the Add rows up/down or Add columns left/right buttons

Actual Results:
Rows and columns are added but no internal border lines of the updated table are visible

Expected Results:
Internal border lines of the updated table should be visible


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 1 mikhail.machine 2025-04-18 08:24:22 UTC
Hello enrico,

Thank you for reporting the bug. I can confirm that the bug is present in master.

Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded

and

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a8ec21adf255b70bb6eeb0a1717190df303d8b26
CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 2 enrico 2025-04-18 11:18:15 UTC
Thanx Mikhail for the queek replay,
do I need to do something now? May be updating the status? Sorry...I'm new to this...
Comment 3 enrico 2025-04-18 11:20:24 UTC
Thanx Mikhail for the quick replay,
do I need to do something now? May be updating the status? Sorry...I'm new to this...
Comment 4 Roman Kuznetsov 2025-04-19 11:07:07 UTC
https://gerrit.libreoffice.org/c/core/+/184367
Comment 5 BogdanB 2025-08-24 18:26:37 UTC
Karthik, any progress with this bug?
Comment 6 Karthik 2025-08-25 05:50:56 UTC
(In reply to BogdanB from comment #5)
> Karthik, any progress with this bug?

I tried fixing it
https://gerrit.libreoffice.org/c/core/+/190147
Comment 7 Piotr Osada 2025-10-23 14:44:57 UTC
Findings:
ADDING ROW or COLUMNS

1) When table is 1×1
┌──────┐
│ cell │
└──────┘
addCol: | none: internal vertical   lines are missing
addRow: — none: internal horizontal lines are missing
┌────────────────────┐
│ cell   cell   cell │
│ cell   cell   cell │
│ cell   cell   cell │
└────────────────────┘



2) When table is 1×2 (or 1×n)
┌──────┬──────┐
│ cell │ cell │
└──────┴──────┘
addCol: | ok:   internal vertical   lines are added
addRow: — none: internal horizontal lines are missing
┌──────┬──────┬──────┐
│ cell │ cell │ cell │
│ cell │ cell │ cell │
│ cell │ cell │ cell │
└──────┴──────┴──────┘



3) When table is 2×1 (or n×1)
┌──────┐
│ cell │
├──────┤
│ cell │
└──────┘
addCol: | none: internal/inner vertical   lines are missing
addRow: — ok:   internal/inner horizontal lines are added
┌────────────────────┐
│ cell   cell   cell │
├────────────────────┤
│ cell   cell   cell │
├────────────────────┤
│ cell   cell   cell │
└────────────────────┘


* addCol: Adding columns (after/before -- left/right) |
* addRow: Adding rows    (above/below  -- top/bottom) —
* Tables made in: https://plaintexttools.github.io/plain-text-table/


Bug exists in:

Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL threaded

and also in:

https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb103-1-TDF/2025-10-22_15.51.57/
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL threaded
Comment 8 Karthik 2025-10-23 14:50:30 UTC
My GSoC project is not merged yet, this bug will be fixed after it's merged.