Bug 152601 - Changes to Shape Text is Sometimes not Saved
Summary: Changes to Shape Text is Sometimes not Saved
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shape-Textbox
  Show dependency treegraph
 
Reported: 2022-12-19 22:27 UTC by brianjheisler@gmail.com
Modified: 2025-04-25 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
This Shape's Text Frequently Can't Be Edited & Saved (11.65 KB, application/vnd.oasis.opendocument.graphics)
2022-12-19 22:27 UTC, brianjheisler@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brianjheisler@gmail.com 2022-12-19 22:27:17 UTC
Created attachment 184250 [details]
This Shape's Text Frequently Can't Be Edited & Saved

I recently upgraded to 7.4.3.2 from 7.3.2.

Since that time, something strange has been happening.

I'd edit the text in a shape then days later, I'd notice the old text was back. It took a few times to realize it wasn't just me (Did I mean to edit it but didn't? Was I editing the wrong file? Am I going crazy? etc) and it was rare enough that it didn't prompt me to really drill down into what was going on. Then finally, I caught it in the act - and where it had previously cooperated on the second edit (perhaps because I had edited other objects before and after (?)) - this time it was consistent; I'd edit the object, save the file, reopen it, and see that the change had not been saved. So I tore the file down to a simple demo - backing up as the tear-down continued - that repeated the problem and am now submitting it.

A few notes:

This bug seems to self-heal, *sometimes*. I haven't found a consistent pattern, but self-healing doesn't happen very often in the demo provided. Every time I think I have an explanation, something changes and my theory is disproved. In other files with this problem, I've experimented with the length of the new text, replacing the old text, and deleting the text entirely, selecting another object, then re-editing the problematic text. I've seen these things matter sometimes but not always. What I do believe, though cannot prove, is that changing other shapes can affect whether or not the problematic shape continues to glitch. (For example, in the demo, deleting the arrow before changing the text will make it *more likely* that the modified text will survive through a save-close-open cycle.

I didn't *notice* this in 7.3.2, but this demo (a descendant of a file created in 7.3.2 then edited there then edited in 7.4.3.2) did exhibit this problem in 7.3.2 when I reverted back to 7.3.2 (again, after the file had been edited in 7.4.3.2). I have no way of ruling out the possibility that this bug is caused by edits in 7.4.3.2 and nothing else. (I'm fairly certain the shape data is damaged but don't know how it got that way.)

This is not a one-off problem. I have close to 30 files (descendants of a template from long ago) that are edited occasionally and *I think* I've observed this problem in approximately 5 of them. (This issue is fleeting enough that concrete reproduction isn't as easy as it seems it should be.) I have reproduced this on other machines (Win7 & Win10).

My edits were often in the form of adding to the existing text.  The initial text length was 5 to 10 characters and the final text length was 10 to 30 characters.

A demo is attached. To reproduce this bug:
1) Open Demo.odg and edit the shape to change "Begin" to "Begin Again".
2) Save and close file then reopen it.
3) Observe that "Begin Again" wasn't saved and "Begin" is in its place.

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 csyu.279 2023-01-03 18:09:36 UTC
Bug reproduced in stable and unstable build

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 5a1f41a0d3aab15c113651f2edc9d4137ae99063
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2025-04-25 03:13:52 UTC
Dear brianjheisler@gmail.com,

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