Version: 2.4-snapshots (using KDE 4.7.3) OS: Linux When opening a new document the widget for paragraphs styles shows a blank item instead of "Standard" (see attached image) Reproducible: Didn't try Steps to Reproduce: Open a new document Actual Results: blank item in paragraphs styles widget Expected Results: "Standard" should be default
Created attachment 66588 [details] blank item selected
It's a known bug, but not reported before so let's mark it as the release blocker it is
Git commit d8d99ce81ce5e717a312003f9b0aead2f380c0ae by Gopalakrishna Bhat A. Committed on 18/12/2011 at 14:02. Pushed by gopalakrishnabhat into branch 'master'. Set the initial style for a newly created document. The template is changed to add a invisible character 0x200B after <?opendocument cursor-position?> to the document template. The reason is that style is not applied for empty paragraphs. See https://bugs.kde.org/show_bug.cgi?id=264471#c7 for more explaination. BUG: 288649 M +- -- words/templates/Wordprocessing/A4.odt M +- -- words/templates/Wordprocessing/ProfessionalA4.odt M +- -- words/templates/Wordprocessing/ProfessionalLetter.odt http://commits.kde.org/calligra/d8d99ce81ce5e717a312003f9b0aead2f380c0ae
We shouldn't add empty chars to documents. The fix will have to involve the style widget looking at the par style instead. Let's wait for pierreSt branch to land
Git commit b6d453a38fddae56a84fb4c7ceb6d26cc84c6adc by C. Boemann. Committed on 29/01/2012 at 17:41. Pushed by boemann into branch 'master'. Don't override paragraph setting just because there is no content M +0 -5 libs/kotext/opendocument/KoTextLoader.cpp M +1 -1 libs/textlayout/KoTextShapeData.cpp http://commits.kde.org/calligra/b6d453a38fddae56a84fb4c7ceb6d26cc84c6adc
In beta 7, the paragraph style widget shows a blank item for new documents.
yes it's solved after beta 7 was tagged
Perfect, thanks