Bug 151296 - FILESAVE: Table new cell contents are not saved if empty
Summary: FILESAVE: Table new cell contents are not saved if empty
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.3.6.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2022-10-03 06:42 UTC by Giuseppe Musumeci
Modified: 2025-08-18 03:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Reproduction case (2.11 MB, application/vnd.oasis.opendocument.graphics)
2022-10-03 06:42 UTC, Giuseppe Musumeci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Musumeci 2022-10-03 06:42:16 UTC
Created attachment 182801 [details]
Reproduction case

When a table cell contents get erased (by deleting the text in it), it seems the change is not persisted to file. After saving and reloading, the old text is there again. If instead of deleting the cell text completely one leaves e.g. a space, the "space" is instead saved correctly. This points to a bug in the logic that decides whether the document model needs updating or not (but I'm just speculating here).

To reproduce:
- open the attached "calendar - repro.odg"
- select Page 4 -> Table 8
- press F2 to edit text (there are overlapping tables, clicking on text is tricky)
- delete all the text in day 20 "Eyebrows' bank holiday"
- save
- close and re-open (or simply File -> Reload)
Ta-da! The old text is still there in Page 4 :-(

The bug "works" also on any other table in each page. The only "different" things about these tables is that they have been originally copy-pasted from a master page, if that could matter at all.

Thanks,
Giuseppe
Comment 1 Timur 2022-10-03 13:10:34 UTC
I reproduced the problem and set New, unless someone explains why this may not be a bug.
Comment 2 m_a_riosv 2022-10-03 13:18:23 UTC
repro wuth
Version: 7.4.2.1 (x64) / LibreOffice Community
Build ID: 681d65acd9ede00dd724d6716f21cabfdcc95bd2
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c3b5eea4304ad6815b491f549fce008a9630c213
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

But the issue doesn't happen clicking on other cell.
Comment 3 QA Administrators 2025-08-18 03:12:03 UTC
Dear Giuseppe Musumeci,

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