https://issues.apache.org/ooo/show_bug.cgi?id=123143

--- Comment #3 from [email protected] ---
I see where I was a little ambiguous in my earlier steps.  What follows is a
detailed way of recreating the error.  In other bug reports I have included
files, but since this process requires a template, a child document, and then
saving over the template again, I think a zip file of the documents would
require a bunch of steps anyway.  If you are unable to reproduce using the
following steps, I'd be happy to upload a series of screenshots of me going
through them.

Anyway, here we go, in 28 simple steps:

1. Select File->New->Drawing
2. Select the rectangle button and draw a rectangle in the upper-left corner.
3. While the rectangle is selected, double-click Default in the Styles and
Formatting box to set that as the style.
4. Right click on the Default style in the Styles and Formatting box and select
modify.
5. In the Area tab change the fill color to Orange 1.
6. Select the rectangle button and draw a rectangle under the first one.
7. With the second rectangle selected, select the New Style from Selection
button in the Styles and Formatting box.
8. Name the style Custom and select OK.
9. Right click on the Custom style in the Styles and Formatting box and select
modify.
10. In the Area tab change the fill color to Green 1.
11. Select the rectangle button and draw a rectangle under the second one.
12. With the third rectangle selected, double-click Dimension Line in the
Styles and Formatting box to set that as the style.
13. Select File->Templates->Save and save it as Test Style.
14. Close the drawing, discarding it.
15. Select File->New->Templates and Documents.
16. Select the Test Style template and press okay.
17. Select the rectangle button and draw a rectangle under the third one.
18. With the fourth rectangle selected, double-click on Text body in the Styles
and Formatting box.
19. Save the drawing as Test Style Drawing.odg
20. Close the drawing.
21. Select File->New->Templates and Documents.
22. Select the Test Style template and press okay.
23. Select the third box and delete it.
24. Select File->Templates->Save and save it as Test Style.
25. Confirm that yes you do want to overwrite the old template.
26. Close the drawing.
27. Select File->Open and open Test Style Drawing.odg
28. You should now be prompted to update styles.  Select Update Styles.

There are other ways to recreate this error as well, I just wanted it to be
clear that the custom style did not change, only the bundled style.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to