Bug 155520 - Table: Unexpected paragraph style when "Insert below" loses styles
Summary: Table: Unexpected paragraph style when "Insert below" loses styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Add-Delete
  Show dependency treegraph
 
Reported: 2023-05-26 22:33 UTC by Alexander Kurakin
Modified: 2026-02-13 17:24 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 Alexander Kurakin 2023-05-26 22:33:39 UTC
1. Open the Writer.
2. Create a 2-rows 2-columns table.

----

Scenario A.

3. Apply "Table Heading" (some) style to the 1st column.
4. Split the 2nd column of the 1st row into 2 rows.
5. Move to the latter of the created cells.
6. Click "Table" -> "Insert" -> "Row bellow".

Scenario B:

as such as Scenario A but pp. 3 and 4 are swapped.

Scenario C:

3. Apply "Table Heading" (some) style to the 1st column.
4. Split the 2nd column of the 1st row into 2 rows.
5. Move to the last column of the last cell.
6. Click "Table" -> "Insert" -> "Row above".

Scenario D:

as such as Scenario C but pp. 3 and 4 are swapped.

----

7. Check for the style of the new row's first cell.
8. Expected: "Table Heading".

9. Actual:
 - Scenario A: as Expected.
 - Scenario B: "Table Contents" (!!!).
 - Scenario C: as Expected.
 - Scenario D: as Expected.

----

(Side Note: There are no E and F Scenarios due to bug #155518.)

----

Version: 7.4.6.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Gentoo official package
Calc: threaded
Comment 1 Dieter 2023-06-08 07:00:29 UTC
I confirm it with

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 389a8d52d9961f89c0b2847b30ee1ca59a8fdc80
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Smaller set of steps:
1. Open the Writer.
2. Create a 2-rows 2-columns table.
3. Split the 2nd column of the 1st row into 2 rows.
4. Apply paragraph style "Table Heading" to first column.
5. Move to the latter of the created cells.
6. Click "Table" -> "Insert" -> "Row bellow".

Actual result
New row has PS "Table Contents" in first column

Expected result
New row has PS "Table Heading" in first column (it works, if you swap step 3 and 4)
Comment 2 Buovjaga 2024-11-27 16:37:32 UTC
Still repro. Already in 3.5.

Arch Linux 64-bit
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ec68e9884a362693d5f5b1bbbe167bc72b585999
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 27 November 2024
Comment 3 Alexander Kurakin 2025-06-25 16:02:29 UTC
Reproduced in:

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Gentoo official package
Calc: threaded
Comment 4 Alexander Kurakin 2026-01-12 14:52:09 UTC Comment hidden (obsolete)
Comment 5 Alexander Kurakin 2026-01-13 14:38:20 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2026-01-13 14:57:44 UTC Comment hidden (obsolete)
Comment 7 Alexander Kurakin 2026-01-13 15:03:08 UTC Comment hidden (obsolete)
Comment 8 Alexander Kurakin 2026-01-13 21:36:46 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2026-01-14 06:03:28 UTC Comment hidden (obsolete)
Comment 10 Alexander Kurakin 2026-02-13 13:59:14 UTC
NOT reproduced in 26.2.0.3 Windows.
Comment 11 Dieter 2026-02-13 15:02:40 UTC
(In reply to Alexander Kurakin from comment #10)
> NOT reproduced in 26.2.0.3 Windows.

Thank you for retesting.
=> RESOLVED WORKSFORME
Comment 12 Alexander Kurakin 2026-02-13 15:33:52 UTC
It wasn't retesting. It was Windows version only.
(And I don't have new Gentoo version, sorry.)
Comment 13 Buovjaga 2026-02-13 17:24:14 UTC
Still repro on Windows.

Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 2; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded