| Summary: | Crash on applying a paragraph style in text tool | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Sven Langkamp <sven.langkamp> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/calligra/9b0e48951612e87322ec9cad27bb82f7da05bf49 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Sven Langkamp
2013-01-17 19:17:49 UTC
Git commit 980f34c7b2ed24496b15984d16720561448c0e13 by Pierre Stirnweiss. Committed on 21/01/2013 at 20:19. Pushed by pstirnweiss into branch 'textshape-stylesWidget-PierreSt'. Fix crash in Krita on the new styles combo In Krita, there is no style loaded from a file. Instead, Krita is using the default paragraph style. The new styles combo used to hide this style. This patch creates a default set of styles for these type of applications. Also the default style is not hidden in the combo. REVIEW: 108532 Cherry-picked from textshape-stylesWidget-PierreSt Conflicts: plugins/textshape/dialogs/DockerStylesComboModel.cpp M +42 -1 libs/kotext/styles/KoStyleManager.cpp M +10 -0 libs/kotext/styles/KoStyleManager.h M +3 -1 plugins/textshape/TextShapeFactory.cpp M +7 -4 plugins/textshape/dialogs/DockerStylesComboModel.cpp M +1 -1 plugins/textshape/dialogs/StylesModel.cpp http://commits.kde.org/calligra/980f34c7b2ed24496b15984d16720561448c0e13 Git commit 9b0e48951612e87322ec9cad27bb82f7da05bf49 by Pierre Stirnweiss. Committed on 21/01/2013 at 20:19. Pushed by pstirnweiss into branch 'master'. Fix crash in Krita on the new styles combo In Krita, there is no style loaded from a file. Instead, Krita is using the default paragraph style. The new styles combo used to hide this style. This patch creates a default set of styles for these type of applications. Also the default style is not hidden in the combo. REVIEW: 108532 Cherry-picked from textshape-stylesWidget-PierreSt Conflicts: plugins/textshape/dialogs/DockerStylesComboModel.cpp M +4 -0 libs/kotext/opendocument/KoTextSharedLoadingData.cpp M +77 -16 libs/kotext/styles/KoStyleManager.cpp M +14 -0 libs/kotext/styles/KoStyleManager.h M +3 -1 plugins/textshape/TextShapeFactory.cpp M +9 -6 plugins/textshape/dialogs/DockerStylesComboModel.cpp M +1 -1 plugins/textshape/dialogs/StylesModel.cpp http://commits.kde.org/calligra/9b0e48951612e87322ec9cad27bb82f7da05bf49 |