Summary: | Paragraph styles widget not showing the dafault style in new document | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Giuseppe Calà <gcala> |
Component: | general | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | Keywords: | release_blocker |
Priority: | NOR | ||
Version: | 2.4-snapshots | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | blank item selected |
Description
Giuseppe Calà
2011-12-10 12:49:57 UTC
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 |