Bug 115000 - Style inherit is not properly saved when created (but it does at second save)
Summary: Style inherit is not properly saved when created (but it does at second save)
Status: RESOLVED DUPLICATE of bug 44774
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-14 11:33 UTC by Pierre C
Modified: 2018-06-23 11:07 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 Pierre C 2018-01-14 11:33:07 UTC
Step to reproduce 
1 - Create a new Draw file
2 - Create a new style "Line" for example
3 - create a child style "Line red" for example
4 - I, the style an formatting view, hierarchical being selected you should see :

Standard
 |__ Red
    |__ Line red

5 - Save & close doc
6 - Open doc, look at style an formatting view, you see :

 Standard
 Red
 Line red

Experted behaviour

It should be as step 4

Reproducible on many Lo versions an AOO 4
Comment 1 Laurent Balland 2018-01-15 21:51:40 UTC
Confirmed with:
- Version: 5.4.4.2
Build ID: 2524958677847fb3bb44820e40380acbe820f960
Threads CPU : 8; OS : Linux 4.10; UI Render : par défaut; VCL : gtk2; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
- Version: 6.0.0.2
Build ID: 06b618bb6f431d27fd2def25aa19c833e29b61cd
Threads CPU : 8; OS : Linux 4.10; UI Render : par défaut; VCL: gtk2; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
Comment 2 Laurent Balland 2018-01-15 21:58:41 UTC
The bug appears if you create inheritance with a style which did not exist when file was opened.
1. Create new drawing
2. Create new style
3. Save doc (but no reload)
4. Create inherited style from new style

Inheritance will be lost. 

If on step 3, file is reloaded, inheritance will be kept.
Comment 3 Roman Kuznetsov 2018-06-23 11:07:34 UTC
seems as duplicate of bug 44774, that fixed for 5.4.6, 6.0.3, 6.1 and more

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