To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113040
                 Issue #|113040
                 Summary|style parent link is not saved in some cases
               Component|Drawing
                 Version|OOo 3.2.1
                Platform|PC
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|graphicsneedsconfirm
             Reported by|jes





------- Additional comments from j...@openoffice.org Thu Jul  8 20:34:50 +0000 
2010 -------
Steps to reproduce:

1) File > New > Drawing
2) Format > Styles & Formatting
3) In Stylist: Right-click "Default" > New
    Name: _Base
    Line > Arrow styles > Style: Arrow
    OK
4) Right-click "_Base" > New
    Name: _Child
    Linked with: _Base
    Line > Line properties > Color: Light Blue
    OK
5) Create a line
6) Apply style "_Child"

The line should have properties from both _Base and _Child: a blue line with
arrowhead(s).

7) File > Save
8) File > Reload

The line should be the same; instead it has only the properties set in the
_Child style (blue, no arrow).

9) Right-click "_Child" > Modify
    see: Linked with: -none-
    set: Linked with: _Base
    OK
10) File > Save

File > Reload is now OK.

If I compare styles.xml between the two saved files (#7, #10), I get this:

$ diff step7_styles_xml step10_styles_xml
102c102
<     <style:style style:name="_5f_Child" style:display-name="_Child"
style:family="graphic">
---
>     <style:style style:name="_5f_Child" style:display-name="_Child"
style:family="graphic" style:parent-style-name="_5f_Base">

I checked 3.2, 3.1.1, 3.0.1 and 2.4.2--they all showed the same problem. Clearly
this must depend on some unusual circumstance or it would be reported before
now. Maybe it only affects the first save.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to