[Upstream] Most recent change in presentation not saved when using animations
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-
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.0.4.2 packages (LibreOffice_
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.1.0.1 packages (LibreOffice_
(all tests on x86_64)
Upstream bug: https:/
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libreoffice-impress (not installed)
ProcVersionSign
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_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: Upgraded to raring on 2013-04-25 (67 days ago)
Changed in df-libreoffice: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in libreoffice (Ubuntu): | |
importance: | Undecided → Medium |
Changed in df-libreoffice: | |
status: | New → Confirmed |
Changed in df-libreoffice: | |
status: | Confirmed → Fix Released |
Changed in libreoffice (Ubuntu): | |
status: | New → Fix Released |
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: 4.0.2.2, different machine 4.0.4.2_ Linux_x86- 64_deb) 4.1.0.1_ Linux_x86- 64_deb)
- This was first noticed on Kubuntu 13.04 with the bundled libreoffice-4.0.2.2
- also reproduced on: Ubuntu 13.04, bundled libreoffice-
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.0.4.2 packages (LibreOffice_
- also reproduced on: Ubuntu 13.04, libreoffice.org's 4.1.0.1 packages (LibreOffice_
(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