Bug 104049 - Renaming paragraph style in Writer destroys the document
Summary: Renaming paragraph style in Writer destroys the document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.3.3 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2016-11-20 07:00 UTC by Elmar
Modified: 2025-05-14 03:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File example (6.11 MB, application/vnd.oasis.opendocument.text)
2023-05-14 07:17 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2016-11-20 07:00:41 UTC
Description:
If I change the name of a paragraph style in my document and then save it, a totally corrupted document is written to disk.

You can download the document to reproduce the problem here:
http://yasara6.cmbi.ru.nl/service/corruption.odt

The same problem happens in OpenOffice (sent them a report too), in CentOS 6 and CentOS 7 64bit.

Steps to Reproduce:
1.Load the document corruption.odt
2.Press F11 to bring up Styles+Formatting
3.Right-click on Style ITX, click Modify
4.Select the 'Organizer' tab, change name from ITX to ITX2, press <Tab> so that next style is also ITX2
5.Click Apply and OK
6.Click File > Save
7.Close and reopen the document 


Actual Results:  
Document is totally corrupted. Since the corruption is only visible after reopening, an entire day of work was affected even though auto-save was active.

Expected Results:
 


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Comment 1 m_a_riosv 2016-11-20 17:08:08 UTC
Reproducible.
Version: 5.2.3.3 (x64)
Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
Locale: es-ES (es_ES); Calc: group
Comment 2 QA Administrators 2017-11-21 15:45:25 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 13:54:39 UTC Comment hidden (obsolete)
Comment 4 m_a_riosv 2019-12-06 00:47:02 UTC
Still
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 60e8941fd581bb06cbf6be62edb8c387e7c07812
CPU threads: 4; OS: Windows 10.0 Build 19035; UI render: default; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US
Calc: CL
Comment 5 QA Administrators 2021-12-06 04:04:54 UTC Comment hidden (obsolete)
Comment 6 Roman Kuznetsov 2023-05-13 12:12:28 UTC Comment hidden (obsolete)
Comment 7 Elmar 2023-05-14 01:00:52 UTC Comment hidden (obsolete)
Comment 8 Roman Kuznetsov 2023-05-14 07:17:04 UTC
Confirm with file example

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: e08c910f9ee520ce00fe99d6dab9988138996ee3
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 9 Roman Kuznetsov 2023-05-14 07:17:23 UTC
Created attachment 187262 [details]
File example
Comment 10 QA Administrators 2025-05-14 03:55:35 UTC
Dear Elmar,

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