Summary: | crash when inserting text shapes | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Markus Kohls <markusk> |
Component: | general | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cbo |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/2bae60646ca3298262184db43e12946fb5ab35c6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Markus Kohls
2012-06-08 06:10:26 UTC
I can confirm. it crashes when inserting a textshape (even the first one, but i'm using a template so there is already a textshape we insert on top of i guees) Thanks. Will look in to it now It's 87dd80da75f5b2425ff8f04954a87650cb7be790 that causes it. I'll figure out why and fix Git commit b2362d0d53653ccf1bc585c773d530f7a8121f2c by C. Boemann. Committed on 10/06/2012 at 15:30. Pushed by boemann into branch 'master'. Prevent crash after 87dd80da75f5b2425ff8f04954a87650cb7be790 If inserting a textshape, the qtextdocument is now modified which made a rootarea to be created We need to explicitly set the root area to 0 whenever setting the document. Even if it's the same document. M +4 -0 libs/textlayout/KoTextShapeData.cpp http://commits.kde.org/calligra/b2362d0d53653ccf1bc585c773d530f7a8121f2c Git commit 2bae60646ca3298262184db43e12946fb5ab35c6 by Yue Liu, on behalf of C. Boemann. Committed on 10/06/2012 at 15:30. Pushed by liu into branch 'connection-interaction-yue'. Prevent crash after 87dd80da75f5b2425ff8f04954a87650cb7be790 If inserting a textshape, the qtextdocument is now modified which made a rootarea to be created We need to explicitly set the root area to 0 whenever setting the document. Even if it's the same document. M +4 -0 libs/textlayout/KoTextShapeData.cpp http://commits.kde.org/calligra/2bae60646ca3298262184db43e12946fb5ab35c6 |