| Summary: | Drawing rectangle in selected area | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | romuluspb |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | halla |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/calligra/d4a24da810ecdd23b42953bd152f392464c4d614 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
romuluspb
2015-05-01 00:39:16 UTC
Hi! Thanks for your report. I think I can reproduce something like it: it seems that there is no pattern selected by default. But the backtrace is different from yours! krita(14849): "[ 0: /usr/lib64/libkdecore.so.5(kRealBacktrace(int)+0x3b) [0x7f02c159b85b] 1: /home/boud/kde/inst/lib64/libkritaimage.so.14(KisPainter::Private::fillPainterPathImpl(QPainterPath const&, QRect const&)+0x921) [0x7f02c7b098d1] 2: /home/boud/kde/inst/lib64/libkritaimage.so.14(KisPainter::fillPainterPath(QPainterPath const&, QRect const&)+0x112) [0x7f02c7b09e82] 3: /home/boud/kde/inst/lib64/libkritaimage.so.14(KisPainter::fillPainterPath(QPainterPath const&)+0x19) [0x7f02c7b0a139] 4: /home/boud/kde/inst/lib64/libkritaimage.so.14(KisPainter::fillPolygon(QVector<QPointF> const&, KisPainter::FillStyle)+0xfb) [0x7f02c7b0a23b] 5: /home/boud/kde/inst/lib64/libkritaimage.so.14(KisPainter::paintPolygon(QVector<QPointF> const&)+0x255) [0x7f02c7b0a4c5] 6: /home/boud/kde/inst/lib64/libkritaimage.so.14(KisPainter::paintRect(QRectF const&)+0xec) [0x7f02c7b0a63c] 7: /home/boud/kde/inst/lib64/libkritaui.so.14(FreehandStrokeStrategy::doStrokeCallback(KisStrokeJobData*)+0x25d) [0x7f02c88e66bd] 8: /home/boud/kde/inst/lib64/libkritaimage.so.14(+0xe389c) [0x7f02c7ace89c] 9: /usr/lib64/libQtCore.so.4(+0x756ae) [0x7f02c10216ae] 10: /usr/lib64/libQtCore.so.4(+0x8179f) [0x7f02c102d79f] 11: /usr/X11R6/lib64/libGL.so.1(+0xaa754) [0x7f02c70a0754] ] " ASSERT: "pattern != 0" in file /home/boud/kde/src/2.9/krita/image/kis_painter.cc, line 1352 The archive I was working is different by now, but I noticed it have not only to be with selected areas, in fact I can confirm it ocurre always if: The archive is opened in recent archives, in Krita start presentation windows, and the first thing done is selecting a vectorial layer, selecting rectangle with pattern as filing and then trying to draw a rectangle. As the work was saved with all canvas covered by a selection area, It start with it, I did not tested if it occur without selected area. Ah, you were adding a rectangle on a vector layer. But the principle is the same: no active pattern. Git commit d4a24da810ecdd23b42953bd152f392464c4d614 by Boudewijn Rempt. Committed on 01/05/2015 at 09:05. Pushed by rempt into branch 'calligra/2.9'. This removes the static_cast'ing of resources by using the qt metatype system instead. Now we don't get weird void* pointers pointing into the void. M +4 -0 krita/image/filter/kis_filter_configuration.h M +0 -2 krita/image/kis_painter.cc M +20 -10 krita/ui/kis_canvas_resource_provider.cpp M +3 -3 krita/ui/tool/kis_resources_snapshot.cpp M +17 -11 krita/ui/tool/kis_tool.cc M +3 -0 libs/pigment/resources/KoAbstractGradient.h M +4 -0 libs/pigment/resources/KoPattern.h http://commits.kde.org/calligra/d4a24da810ecdd23b42953bd152f392464c4d614 |