Bug 115714 - Does not save hierarchy of drawing styles if save and reopen new ODG file
Summary: Does not save hierarchy of drawing styles if save and reopen new ODG file
Status: RESOLVED DUPLICATE of bug 44774
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: dataLoss
Depends on:
Blocks:
 
Reported: 2018-02-14 11:53 UTC by Roman Kuznetsov
Modified: 2018-03-07 12:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
view before save and reopen file (113.75 KB, image/png)
2018-02-14 12:09 UTC, Roman Kuznetsov
Details
view after save and reopen file (103.50 KB, image/png)
2018-02-14 12:10 UTC, Roman Kuznetsov
Details
File ODG after reopen (13.55 KB, application/vnd.oasis.opendocument.graphics)
2018-02-14 12:11 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2018-02-14 11:53:04 UTC
Description:
All options, which are inherited in child styles from parent style, are dissapear, because Draw doesn't save hierarchy of drawing styles, when you save and reopen file ODG. After reopen file all child styles move to level of parent style

Steps to Reproduce:
1. Open new Draw document
2. Create a new style with name "Parent" with your options (fill area, line, font , etc). Select on tab "Organize", Inherit from: None
3. Create a new style "Child", that will have one different option from the style "Parent" (for example, another color of fill area). Select on tab "Organize", Inherit from: "Parent"
4. Draw two figures and apply our new styles Parent and Child to each of them
5. Save file and close all open module of LibreOffice.
6. Reopen file. Figure with style "Child" changed own view, because dissapears hierarchy of styles (see both sreenshot and file from attach) 

Actual Results:  
hierarchy of drawing styles does not save if you save and reopen file

Expected Results:
hierarchy of drawing styles is stable forever


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Comment 1 Roman Kuznetsov 2018-02-14 12:09:54 UTC
Created attachment 139901 [details]
view before save and reopen file
Comment 2 Roman Kuznetsov 2018-02-14 12:10:36 UTC
Created attachment 139902 [details]
view after save and reopen file
Comment 3 Roman Kuznetsov 2018-02-14 12:11:29 UTC
Created attachment 139903 [details]
File ODG after reopen
Comment 4 Buovjaga 2018-03-07 12:24:54 UTC
Repro.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 856c57f20f9b07c686a854e0ccbb6ee3b0ee4791
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on March 7th 2018

Arch Linux 64-bit
Version 3.6.7.2 (Build ID: e183d5b)

But I found a duplicate (inheriting was called linking before)

*** This bug has been marked as a duplicate of bug 44774 ***