Bug 82400 - FILEOPEN: PPTX files open with multiple undos already added
Summary: FILEOPEN: PPTX files open with multiple undos already added
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX ModifiedStatus
  Show dependency treegraph
 
Reported: 2014-08-10 00:08 UTC by Yousuf Philips (jay) (retired)
Modified: 2018-05-27 05:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-08-10 00:08:54 UTC
I was going through the pptx files found at < http://cgit.freedesktop.org/libreoffice/core/tree/chart2/qa/extras/data/ > and noticed that when i open them that they have multiple undos already listed which results in libreoffice asking me to save changes to the document when i havent made any.
Comment 1 Yousuf Philips (jay) (retired) 2014-08-10 00:34:02 UTC
This was tested in 3.3.0 and 4.3.2 and 4.4.
Comment 2 Robinson Tryon (qubit) 2014-08-16 08:12:28 UTC
(In reply to comment #0)
> I was going through the pptx files found at <
> http://cgit.freedesktop.org/libreoffice/core/tree/chart2/qa/extras/data/ >
> and noticed that when i open them that they have multiple undos already
> listed which results in libreoffice asking me to save changes to the
> document when i havent made any.

CONFIRMED on LO 4.3.1.1 + Ubuntu 12.04

Repro steps:

1) Download and open file:
http://cgit.freedesktop.org/libreoffice/core/plain/chart2/qa/extras/data/pptx/chart.pptx
2) Immediately try to close document

RESULT: Prompted to save document

EXPECTED: Would not be prompted to save document, as I'd made no changes
Comment 3 Robinson Tryon (qubit) 2014-08-16 08:15:56 UTC
(Possibly) related problem:

1) Create new ODP document and set the title of the first slide to "Hello, world"
2) File -> Save "foobar.odp"
3) File -> Save as "foobar.pptx"
3b) Click "OK" to prompt to save in OOXML file format
4) Attempt to close the document

RESULT: Prompted to save document

EXPECTED: No prompt to save document


Now here's where it gets interesting: Try the same repro steps, but after saving "foobar.odp", close and reopen the document *first* before using "Save As" -> "foobar.pptx".

RESULT: No prompt to save document
Comment 4 Piet van Oostrum 2015-03-29 15:14:59 UTC
Still the same on 4.4.1.2 on Mac OS X 10.10.2.

The UNDO's that the document starts with are renames of various objects. It seems that the renaming is done while loading the document in such a way that they are entered in the UNDO history. The history should be cleared after the loading has finished.
Comment 5 Robinson Tryon (qubit) 2015-12-07 16:36:49 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-01-03 19:41:02 UTC Comment hidden (obsolete)
Comment 7 Aron Budea 2018-05-27 05:59:37 UTC
Files don't open as modified anymore in LO 6.2 master daily build (f7f2d03bd6f5aa5dcd0f7976b4a7f2db278c2f03, 2018-05-25_05:00:28) / Windows 7. Closing as WFM.