Bug 165771 - Table add row scrambles formatting
Summary: Table add row scrambles formatting
Status: RESOLVED DUPLICATE of bug 126008
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-16 14:32 UTC by Walter Tuvell
Modified: 2025-04-07 19:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Minimal example of bug (see bug Description) (26.31 KB, application/octet-stream)
2025-03-16 14:35 UTC, Walter Tuvell
Details
See comment #6. (26.31 KB, application/vnd.oasis.opendocument.text)
2025-03-19 10:16 UTC, Walter Tuvell
Details
See comment #6. (82.90 KB, application/pdf)
2025-03-19 10:17 UTC, Walter Tuvell
Details
See comment #6. (180.65 KB, image/png)
2025-03-19 10:17 UTC, Walter Tuvell
Details
See comment #6. (26.03 KB, application/vnd.oasis.opendocument.text)
2025-03-19 10:17 UTC, Walter Tuvell
Details
See comment #6. (73.37 KB, application/pdf)
2025-03-19 10:18 UTC, Walter Tuvell
Details
See comment #6. (173.08 KB, image/png)
2025-03-19 10:18 UTC, Walter Tuvell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Tuvell 2025-03-16 14:32:50 UTC
Description:
Suppose you've got a table in LO Writer, with some formatting in it. Now add a new row (say by navigating to the bottom-right cell and typing a tab char). The new row gets added, but the formatting gets goofed up. See attached minimal example, junk.odt.

Steps to Reproduce:
Already explained in Description field.

Actual Results:
Already explained in Description field.

Expected Results:
Obvious.


Reproducible: Always


User Profile Reset: No

Additional Info:
Nothing to add.
Comment 1 Walter Tuvell 2025-03-16 14:35:42 UTC
Created attachment 199838 [details]
Minimal example of bug (see bug Description)
Comment 2 Jessica 2025-03-17 08:28:08 UTC
Thank you for reporting the bug. I am not able to use your example document, as LO always crashed when adding something.
But if I use a new template, I can not reproduce the bug in

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
Comment 3 m_a_riosv 2025-03-17 10:10:09 UTC
Not reproducible
Version: 25.2.2.1 (X86_64) / LibreOffice Community
Build ID: 38d746d66d9b82fa248a2e90142b9dd3ddd1d6cd
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 4 raal 2025-03-18 16:46:13 UTC
Tested with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ddaea18557b1ec60d9e360f9eab539c8f551061f
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
and cannot reproduce. New line added.
Comment 5 Juan Q. 2025-03-19 07:32:54 UTC
Can not reproduce using 
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 501e5a7db75e265ace4b1efbe9b604d97b8e7b1e
CPU threads: 12; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

New row is created after typing tab with same formatting.

To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile (<https://wiki.documentfoundation.org/UserProfile>) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present

also, please include version info Help > About LibreOffice
Comment 6 Walter Tuvell 2025-03-19 10:16:38 UTC
Created attachment 199890 [details]
See comment #6.

See comment #6.
Comment 7 Walter Tuvell 2025-03-19 10:17:00 UTC
Created attachment 199891 [details]
See comment #6.

See comment #6.
Comment 8 Walter Tuvell 2025-03-19 10:17:23 UTC
Created attachment 199892 [details]
See comment #6.

See comment #6.
Comment 9 Walter Tuvell 2025-03-19 10:17:40 UTC
Created attachment 199893 [details]
See comment #6.

See comment #6.
Comment 10 Walter Tuvell 2025-03-19 10:18:00 UTC
Created attachment 199894 [details]
See comment #6.

See comment #6.
Comment 11 Walter Tuvell 2025-03-19 10:18:31 UTC
Created attachment 199895 [details]
See comment #6.

See comment #6.
Comment 12 Walter Tuvell 2025-03-19 10:30:39 UTC
Oh, dammit! I had written "comment #6,", then added the 6 new attachments, but adding them seems to have wiped out the comment contents! So I'll see if I can remember/reproduce it. The problem has persisted for me for months, I'm just now getting around to reporting it (hoping somebody else would report and it would get fixed).

I'm on Linux, all up-to-date, uname -a:
Linux WaltXPS 6.13.6-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Mar  7 21:33:48 UTC 2025 x86_64 GNU/Linux

LO Help -> About yields:
Version: 24.8.5.2 (X86_64)
Build ID: 480(Build:2)
CPU threads: 16; OS: Linux 6.13; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

The junk_BEFORE files are what it looks like before I type TAB in the last cell of the table. The junk_AFTER files are what happens after I type TAB to add a new row. The PNGs are just the PDFs after converting to PNG (using GIMP), "just to be sure" you're seeing what I'm seeing. I use Okular for PDF viewing.
Comment 13 Walter Tuvell 2025-03-19 10:48:32 UTC
I forgot, I hadn't known about the LO User Profile stuff before, but I tried it, and the same problem persists.
Comment 14 João Pedro 2025-03-31 18:55:12 UTC
I confirm. Starting with version 6, whenever you insert or delete rows or columns, Writer breaks almost all formatting.

Before anyone complains, I've been using LiBo since it was still OpenOffice and Writer was the only text editor that didn't make me miss WordPerfect. But I work with a lot of tables and it's impossible to keep reformatting the entire text every time I need to add a line.

I just wish it would work well with tables again so I could use it again.
Comment 15 Walter Tuvell 2025-03-31 19:05:36 UTC
There is a workaround, however painful. Create a new empty table with more rows/columns, copy/paste the data into it, then delete the old table.
Comment 16 Mateusz Wlazłowski 2025-03-31 20:47:43 UTC
I can also confirm using the steps from comment 12 (pressing TAB in the last cell of the table).

The old format isn't even returning when trying to undo (ctrl+z)

Also happens on windows


Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 2; OS: Windows 11 X86_64 (10.0 build 22621); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 17 Mateusz Wlazłowski 2025-04-07 19:12:44 UTC

*** This bug has been marked as a duplicate of bug 126008 ***