[Upstream] Most recent change in presentation not saved when using animations

Bug #1196679 reported by Christian Hoffmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Problem description:
LibreOffice Impress discards changes to documents without notice in certain circumstances. It happens when the object in question is part of a custom animation and if no other content is modified before saving.

This is actually really annoying as it may lead to whole paragraphs of text getting lost or to other corrections not being saved (and as such, errors or typos getting re-introduced without noticing).

Steps to reproduce:
1. Create an empty presentation
2. Add some text such as "Test0"
3. Select the entered text (or the parent text box) and add a custom animation (doesn't matter which, but let's say "Appear")
4. Save and close the document
5. Open it again and modify the text (Make "Test0" read "Text1")
6. Without editing anything else, click save (or press Ctrl+S) and close the presentation
7. Re-open again and notice that the last change did not get saved (the page still reads "Test0")

Current behavior:
The most recent change done to any animated item is not saved, unless something else is modified afterwards.
Above test case shows "Test0".

Expected behavior:
Everything which is visible on-screen should be saved to the file and should look the same after re-opening the file.
Above test cases should yield "Test1".

Further information:
- The list of custom animations does not update properly either (i.e. when "Test0" is changed to "Test1", the animation list still says "Test0" unless something else is edited or focus is switched to another slide).
- While I am not familiar with the LibreOffice code, it looks like some event is not fired in this case which would usually be responsible for updating internal state at several places (internal ODF representation, custom animation list pane).
- Removing the custom animation and repeating the test (changing content, saving, reloading) will still show the bug! The bug only vanishes if the document is re-opened after the custom animation has been removed.

Environment:
- This was first noticed on Kubuntu 13.04 with the bundled libreoffice-4.0.2.2
- also reproduced on: Ubuntu 13.04, bundled libreoffice-4.0.2.2, different machine
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.0.4.2 packages (LibreOffice_4.0.4.2_Linux_x86-64_deb)
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.1.0.1 packages (LibreOffice_4.1.0.1_Linux_x86-64_deb)

(all tests on x86_64)

Upstream bug: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=66469

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libreoffice-impress (not installed)
ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Mon Jul 1 21:50:24 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-06-17 (745 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: Upgraded to raring on 2013-04-25 (67 days ago)

Revision history for this message
In , Christian Hoffmann (christian-hoffie) wrote :

Problem description:
LibreOffice Impress discards changes to documents without notice in certain circumstances. It happens when the object in question is part of a custom animation and if no other content is modified before saving.

This is actually really annoying as it may lead to whole paragraphs of text getting lost or to other corrections not being saved (and as such, errors or typos getting re-introduced without noticing).

Steps to reproduce:
1. Create an empty presentation
2. Add some text such as "Test0"
3. Select the entered text (or the parent text box) and add a custom animation (doesn't matter which, but let's say "Appear")
4. Save and close the document
5. Open it again and modify the text (Make "Test0" read "Text1")
6. Without editing anything else, click save (or press Ctrl+S) and close the presentation
7. Re-open again and notice that the last change did not get saved (the page still reads "Test0")

Current behavior:
The most recent change done to any animated item is not saved, unless something else is modified afterwards.
Above test case shows "Test0".

Expected behavior:
Everything which is visible on-screen should be saved to the file and should look the same after re-opening the file.
Above test cases should yield "Test1".

Further information:
- The list of custom animations does not update properly either (i.e. when "Test0" is changed to "Test1", the animation list still says "Test0" unless something else is edited or focus is switched to another slide).
- While I am not familiar with the LibreOffice code, it looks like some event is not fired in this case which would usually be responsible for updating internal state at several places (internal ODF representation, custom animation list pane).
- Removing the custom animation and repeating the test (changing content, saving, reloading) will still show the bug! The bug only vanishes if the document is re-opened after the custom animation has been removed.

Environment:
- This was first noticed on Kubuntu 13.04 with the bundled libreoffice-4.0.2.2
- also reproduced on: Ubuntu 13.04, bundled libreoffice-4.0.2.2, different machine
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.0.4.2 packages (LibreOffice_4.0.4.2_Linux_x86-64_deb)
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.1.0.1 packages (LibreOffice_4.1.0.1_Linux_x86-64_deb)

(all tests on x86_64)

Please let me know if I can supply you with any more debugging information.
Operating System: Ubuntu
Version: 4.0.4.2 release

Revision history for this message
Christian Hoffmann (christian-hoffie) wrote :
Revision history for this message
Christian Hoffmann (christian-hoffie) wrote :

apt-cache policy libreoffice-impress
libreoffice-impress:
  Installed: 1:4.0.2-0ubuntu1
  Candidate: 1:4.0.2-0ubuntu1
  Version table:
 *** 1:4.0.2-0ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

(Sorry, apport was not able to collect the proper information, because after my tests with the upstream packages I did not have libreoffice-impress installed; did so now and ran apt-cache policy, see above)

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Christian Hoffmann (christian-hoffie) wrote :

- also reproduced on: Fedora Core, bundled libreoffice-3.5.7.2, different machine

Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
Revision history for this message
In , Foss-4 (foss-4) wrote :

Christian, is this bug still valid / reproducible with the latest pre-release 4.2.0.2: http://www.libreoffice.org/download/pre-releases/

Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile

Should this be still reproducible for you with the latest LO release please set this bug back to UNCONFIRMED. Should this issue be solved set it to WORKSFORME.

Setting to NEEDINFO until more detail is provided.

Revision history for this message
In , Christian Hoffmann (christian-hoffie) wrote :

Thanks for your reply.

This is still reproducible
- on Ubuntu 13.10 w/ LibreOffice 4.1.3.2 (from Ubuntu)
- on Ubuntu 13.10 w/ LibreOffice 4.2.0.2 (official debs [1])

A fresh LibreOffice profile (~/.libreoffice* and ~/.config/libreoffice* moved out of the way) has been used for the second test.

Do you need any additional information?

[1] http://download.documentfoundation.org/libreoffice/testing/4.2.0/deb/x86_64/LibreOffice_4.2.0.2_Linux_x86-64_deb.tar.gz

Revision history for this message
In , Stgohi-lobugs (stgohi-lobugs) wrote :

Reproducible with LO 4.3.2.2 (Win 8.1)

Revision history for this message
In , chris (ign-christian) wrote :

Also reproduced with LO 3.6.7.2, 3.3.0.4 - Ubuntu 12.04 x86. Same with AOO 4.1.1, seems inherited from OOO.

Possibly not filesave problem since the text in 'Custom Animation' pane not changed after text modification, unless we click anywhere to exit editing box or firing Slide Show.

Changed in df-libreoffice:
status: New → Confirmed
Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

** Please read this message in its entirety before responding **

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 on a currently supported version of LibreOffice (5.0.4 or later)
   https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior

the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

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)

http://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: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-12-20

Revision history for this message
In , Christian Hoffmann (christian-hoffie) wrote :

I can confirm that this bug is still present in LibreOffice 5.0.4.2 (Build ID: 5.0.4.2 Arch Linux build-1, Locale: de-DE (de_DE.UTF-8), current Arch Linux w/ Kernel 4.2.5-1-ARCH).

The reproduce instructions from comment #0 still apply.

Revision history for this message
Martin Holmes (mholmes) wrote :

I can confirm this with:

LibreOffice 5.1.4.2 10m0(Build:2)

Ubuntu 16.04 kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Changed in df-libreoffice:
status: Confirmed → Fix Released
Changed in libreoffice (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.