Summary: | karbon, create a path with 2 points, try to change x end by properties = crash | ||
---|---|---|---|
Product: | [Applications] calligracommon | Reporter: | Bruno Friedmann <bruno> |
Component: | general | Assignee: | T Zachmann <t.zachmann> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | t.zachmann |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/439cc1795d63a3a32b970ec106b016c5e91c1478 | Version Fixed In: | |
Attachments: | Document that can crash |
Description
Bruno Friedmann
2012-09-01 13:08:36 UTC
Thanks for the bug report. I tried to reproduce the problem with current master which should be nearly the same as the 2.5 version but I could not reproduce. Here some questions that might help us to reproduce the problem. o Does this only happen with this one document? If so can you please attach it to the bug report or it contains sensitive data mail it to me? o How exactly do you enlarge the path. Do you use the tool option docker when the default tool(arrow) is selected or do you use the mouse on the top left corner to resize. I will add the document, not that sensitive .... I tried by two method, clic on a point in the path ( used as line by me ) and try to extend it (hard by mouse). And by using the shape properties docker by editing the value. Created attachment 73634 [details]
Document that can crash
Trying to edit any path that serve as measurement will crash karbon.
Especially if you play with the shape properties x,y
Or if you "interleave" the line ... hard to describe :-)
Moving to correct component as all Calligra apps are affected. Review for patch created: https://git.reviewboard.kde.org/r/106327/ *** Bug 305427 has been marked as a duplicate of this bug. *** Git commit 0cfb997dca096dc388d9150e3a031595c73fcd24 by Thorsten Zachmann. Committed on 05/09/2012 at 21:02. Pushed by zachmann into branch 'master'. Fix resizing of horizontal/vertical lines When resizing a horizontal or vertical line with the tool options calligra applications crash. This fixes that by setting the scaling for width/height to 1 if division by 0 would occur. REVIEW: 106327 M +2 -1 plugins/defaultTools/defaulttool/DefaultToolWidget.cpp http://commits.kde.org/calligra/0cfb997dca096dc388d9150e3a031595c73fcd24 Git commit 439cc1795d63a3a32b970ec106b016c5e91c1478 by Thorsten Zachmann. Committed on 05/09/2012 at 21:02. Pushed by zachmann into branch 'calligra/2.5'. Fix resizing of horizontal/vertical lines When resizing a horizontal or vertical line with the tool options calligra applications crash. This fixes that by setting the scaling for width/height to 1 if division by 0 would occur. REVIEW: 106327 (cherry picked from commit 0cfb997dca096dc388d9150e3a031595c73fcd24) M +2 -1 plugins/defaultTools/defaulttool/DefaultToolWidget.cpp http://commits.kde.org/calligra/439cc1795d63a3a32b970ec106b016c5e91c1478 |