Bug 143690 - HTML tables with footer (tfoot tag) pasted in Calc are loosing footer data
Summary: HTML tables with footer (tfoot tag) pasted in Calc are loosing footer data
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2021-08-02 11:43 UTC by Quentin Delance
Modified: 2023-05-11 15:03 UTC (History)
2 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 Quentin Delance 2021-08-02 11:43:27 UTC
Description:
If I select a HTML table with lines in a tfoot tag, then try to paste it in Calc, the table is pasted correctly but I loose all lines in tfoot.

My HTML seems to be fine and this can be reproduced with steps below. Note that Google Spreadsheet has the same limitation (I cannot test with Excel though).

I tried to modify HTML so that tfoot is inserted between thead and tbody (seems to be valid with HTML5, not with HTML4), but the behaviour is the same.

Note that if I paste this table in Writer, all lines are correctly pasted, this problem is restricted to Calc.

Steps to Reproduce:
1. Generate HTML table with tfoot, for exemple this one: https://developer.mozilla.org/fr/docs/Web/HTML/Element/tfoot
2. Select the table, copy/paste it in Calc
3. A popup is displayed, choose automatic (default choice)

Actual Results:
Table is pasted but without tfoot lines. In the example found on https://developer.mozilla.org/fr/docs/Web/HTML/Element/tfoot, only 3 out of the 4 lines are pasted

Expected Results:
Table should be pasted with all 4 lines.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.4.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 1:7.1.4-0ubuntu0.21.04.1
Calc: threaded
Comment 1 Eleonora Govallo 2021-08-17 20:14:50 UTC
Repro in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: adf65471e889676a600a9c6d0454c75cbd549ad3
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-13_04:44:18
Calc: threaded