Bug 45474 - Impress file created with Presentation wizard does not always save/read format correctly
Summary: Impress file created with Presentation wizard does not always save/read forma...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.4.5 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 18:35 UTC by Marcel Samek
Modified: 2012-10-03 17:12 UTC (History)
4 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 Marcel Samek 2012-01-31 18:35:25 UTC
I noticed that when created impress files, sometimes the file I created did not read back into Impress with the correct formatting.

It took me a while to find a 100% reproducible case, but it is outlined below:

For some reason, when I read the files they pop up a message about the template having been changed, even though it was not touched between the creation and the reading of the file. As the instructions below indicate, it does not matter what one selects on that popup, you don't get back what you think you created.


1) Start Impress

2) When Presentation wizard pops up, select "from template". The bottom part of the panel changes to show a popup field which has "Presentations" selected and a selection list which has the first item "Another Poppy" selected. Don't touch either, leaving them as they are and hit "Next"

3) Step 2 appears with a popup field with "Presentation Backguonds" selected and a list of backgrounds below it. Leave the popup untouched and from the list of backgrounds choose "Blue Lines and Gradients)". Then hit the "Create" button

4) At this point an empty slide is created. Type in text into the header field, and create several bullet points. Create bullet points with indentations below them. Note that:

All bullet levels have white text!

5) Save the file in the default .odp file format

6) Quit out of Impress

7) Double click on the file that was create to open impress

8) At this point a popup shows up that says "The template 'Blue Lines and Gradients' on which this document is based, has been modified. Do you want to update style based formatting according to the modified template"?  Why does this happen, the template has not been modified since I create the file.

9) Select "Keep Old Styles". The file reads in, but the color of the text for bullet levels 2 and up has been changed to black, even though it was white when the files was being edited.

10) Quit out of the file.

11) Double click on the file to read it again

12) This time, select "Update Styles" on the popup. Note that the entire format is changed to the default poppy template, ignoring the background that I had selected when creating the document in the template. It looks like nothing that was saved.
Comment 1 sasha.libreoffice 2012-03-23 03:39:15 UTC
Thanks for bugreport
Please, verify if in last version of LibreOffice still reproducible
Also, try move user profile of LibreOffice to another place and see if still reproducible
Attach produced presentation if reproducible
Comment 2 bfoman (inactive) 2012-07-13 11:21:47 UTC
Checked with:
LO 3.5.5.3 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

I created "Introducing a new Product" presentation and can confirm following:

> 8) At this point a popup shows up that says "The template 'Blue Lines and
> Gradients' on which this document is based, has been modified. Do you want to
> update style based formatting according to the modified template"? 
> 12) This time, select "Update Styles" on the popup. Note that the entire format
> is changed to the default poppy template, ignoring the background that I had
> selected when creating the document in the template. It looks like nothing that
> was saved.
Comment 3 Joel Madero 2012-10-03 16:59:26 UTC
Unfortunately I don't have those templates with 3.6.2.2 RC on my Windows box. Are there updated instructions that I can try to reproduce this with on 3.6+ version of LibO?

@bfoman: if you're able to reproduce this on latest version of LibO can you throw a comment in here and mark this as NEW. Also prioritize it (seems like it deserves relatively high as data is being lost which is no good). 

Marking as NEEDINFO until I get a bit more information (or if bfoman just confirms it).

Thanks to both of you
Comment 4 Marcel Samek 2012-10-03 17:11:23 UTC
I reported the original bug and I do not have those templates any more. I did try reproducing it in version 3.6.0.4 with the templates that I do  have available and I cannot reproduce it anymore.
Comment 5 Joel Madero 2012-10-03 17:12:27 UTC
Marking as WORKSFORME then, if you can reproduce it in a current version please reopen it and I'll make sure to take a look. Apologies that we didn't get to this sooner