Issue 61000 - "Add page break" is enabled for style, although it was disabled when saved & reopened
Summary: "Add page break" is enabled for style, although it was disabled when saved & ...
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 10:15 UTC by rabauke
Modified: 2006-02-08 15:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description rabauke 2006-01-22 10:15:22 UTC
Open a Writer-Document.  
  
Type in two lines.  
  
Assign the first one to "Heading", the second one to "Heading 1".  
  
Open style-settings for "Heading" > Textflow, enable "Add page-break before 
heading". 
 
First result: Heading 1 will also generate a page-break. This might be 
intended, as "Heading" is linked to "Heading 1". Not sure though if it makes 
sense. 
 
Anyway, go to the settings of "Heading 1" > Textflow, disable "Add page-break 
before heading". 
 
Second result: "Heading 1" is now below "Heading" and if you enter new lines 
that are assigned to "Heading" and "Heading 1", only "Heading" will produce a 
page break. 
 
Save the document. 
 
Re-open the document. 
 
Result: "Heading 1" has "Add page-break before heading" enabled again. 
 
If "Heading" is meant to overwrite the settings for "Heading 1-10" everytime 
the document is opened, OO should not allow the user to disable "Add 
page-break" for "Heading 1", because the user thinks that anything one 
disabled and saved, stays disabled. 
 
Currently disabling "Add page-break" in "Heading 1" works like a 
session-setting, which is not saved when the session ends, i.e. the document 
is closed, which is of no use to the user. 
 
Expected behaviour would be to disable any settings that are not saved, or 
save the setting.
Comment 1 michael.ruess 2006-01-23 11:18:20 UTC
reassigned to ES.
Comment 2 chanleo 2006-01-27 15:16:14 UTC
replicated the bug on WinXP sp2, Pentium 3 with OOo2.0.1

1. create new Text document in oo writer
2. type "line number 1" for the first line and type "hello world" for the 
second line
3. select the first line "line number 1"
4. open Format->Styles and Formatting->Heading
5. select the second line "hello world"
6. open Format->Styles and Formatting->Heading 1
7. select the first line "line number 1" again
8. right click on the selection-> Edit Paragraph Styles->Text Flow->Breaks->
9. enable Insert-> "Type" choose "Page" -> "Position" choose "Before"
10. select the second line "hello world" again
11. right click on the selection-> Edit Paragraph Styles->Text Flow->Breaks->
12. observed that heading 1 has also generated the page-break which is not 
suppose to

This bug is crucial since editing one paragraph style will affect the other 
and it is unknown to the user, so this might mess up the whole content of the 
document.
Comment 3 chanleo 2006-01-27 16:19:36 UTC
another bug
1. type "third line" in a new line
2. open Format->Styles and Formatting->Heading
3. open Format->Styles and Formatting->Heading 1
4. observed that the line "third line" work correctly 

The page break of "heading" for line "line number 1" is disappeared after 
disable Insert for "heading 1". 
Comment 4 eric.savary 2006-02-08 14:50:28 UTC
Heading 1 is a child style of Headin (switch the Stylist to "Hierarchical" to
see it) so it gets the attributes from Heading automatically.
Comment 5 eric.savary 2006-02-08 14:50:45 UTC
closed
Comment 6 rabauke 2006-02-08 15:55:05 UTC
So if it is fixed to the value of the parent, why can I change it?