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
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