Bug 156678 - Table | Split Table | Copy Heading only copies first heading row instead of all heading rows
Summary: Table | Split Table | Copy Heading only copies first heading row instead of a...
Status: RESOLVED DUPLICATE of bug 104844
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-08 16:53 UTC by William Friedman
Modified: 2023-08-08 23:39 UTC (History)
1 user (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 William Friedman 2023-08-08 16:53:26 UTC
Description:
Even if a table has multiple heading rows, split table | copy heading only copies the first row. This seems to be because heading rows are currently only relevant to when a table breaks over multiple pages, since the option to set the number of heading rows only appears under the setting "repeat heading rows on new pages" (when inserting a new table) or under Table Properties | Text Flow | Repeat heading (after a table has already been inserted). But this behavior seems incorrect; multiple heading rows are relevant *also* to splitting a table.

Steps to Reproduce:
1. Open Table | Insert Table.
2. Set Rows to 3 (or more).
3. Check Heading.
4. Check "Repeat Heading Rows on new pages."
5. Set Heading Rows to 2 (or more).
6. Hit Insert.
7. In the first row, type "Heading Row 1."
8. In the second row, type "Heading Row 2."
9. In the third row, type "Table Content."
10. With the cursor in the third row, go to Table | Split Table.
11. Select "Copy heading."
12. Notice that only Heading Row 1 has been copied.

Actual Results:
Only the first Heading Row is copied to the new table.

Expected Results:
*All* heading rows should be copied to the new table.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 LeroyG 2023-08-08 22:16:39 UTC
Reproducible with:

Version: 7.4.7.2 (x64) / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL
Comment 2 Stéphane Guillou (stragu) 2023-08-08 23:39:19 UTC
Thank you William for the clear report.
The issue is already tracked in bug 104844, so marking as duplicate.

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