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: 2025-05-11 03:10 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
Comment 2 QA Administrators 2025-05-11 03:10:49 UTC
Dear Quentin Delance,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug