Bug 248708

Summary: Paragraph style removal when deleting or inserting a page break
Product: kword Reporter: suse
Component: generalAssignee: Thomas Zander <zander>
Status: RESOLVED FIXED    
Severity: normal Keywords: release_blocker
Priority: NOR    
Version: 2.2   
Target Milestone: Persona: Susan   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description suse 2010-08-22 18:13:32 UTC
Version:           2.2 (using KDE 4.5.0) 
OS:                Linux

Setting paragraph style for text next to a page break or inserting a page break next to it produces unexpected results.

Reproducible: Always

Steps to Reproduce:
Start a new document. Insert some text in the first line. Select and Set "Head 1" paragraph style. Go to beginning of line. Insert Page break. The text appears on the next page but is no longer "Head 1" formatted. If "Head 1" style is numbered the number stays on the old page.
Now selecting the text and setting "Head 1" again removes the page break.

Actual Results:  
Page break/formatting removal

Expected Results:  
No page break/formatting removal
Comment 1 Thomas Zander 2010-11-07 15:17:09 UTC
SVN commit 1193897 by zander:

Make inserting a page break work properly again

When inserting a page break at the front (and thus just moving
the parag down) make sure that we keep our style and numbering.
Also fix that re-applying a style removed the page breaking
flag and thus moved the text back up...

BUG:248708

 M  +10 -11    KoTextEditor.cpp  
 M  +0 -1      styles/KoParagraphStyle.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1193897