Pencil tool color

Pencil tool no changes line color in bitmap layer, in vector layer – works.

in both cases, when i choose color in colorlist – console output:

QSpiAccessible::accessibleEvent not handled: “8008″ obj: QObject(0×0) ” invalid interface!”

When in color wheel – no output.

wherein in options tab – color button does not change color.

Pencil 0.5.4 dev (compiled from source github master branch),

Ubuntu 12.04 i386, Qt 4.8.2

same thing here…no color change for pencil (color changes as expected in o.5.3 binary release). I don’t get the error message, though.

I just commented debug strings in file penciltool.cpp :

if (p.size() == 4) { // qDebug() << p; QPainterPath path(p[0]); path.cubicTo(p[1], p[2], p[3]); m_pScribbleArea->drawPath(path, pen, brush, QPainter::CompositionMode_Source );

//if (false) // debug //{ //QSizeF size(2,2); //QRectF rect(p[0], size);

//QPen penBlue(Qt::blue);

//m_pScribbleArea->bufferImg->drawRect(rect, Qt::NoPen, QBrush(Qt::red), QPainter::CompositionMode_Source, false); //m_pScribbleArea->bufferImg->drawRect(QRectF(p[3], size), Qt::NoPen, QBrush(Qt::red), QPainter::CompositionMode_Source, false); //m_pScribbleArea->bufferImg->drawRect(QRectF(p[1], size), Qt::NoPen, QBrush(Qt::green), QPainter::CompositionMode_Source, false); //m_pScribbleArea->bufferImg->drawRect(QRectF(p[2], size), Qt::NoPen, QBrush(Qt::green), QPainter::CompositionMode_Source, false); //m_pScribbleArea->bufferImg->drawLine(p[0], p[1], penBlue, QPainter::CompositionMode_Source, true); //m_pScribbleArea->bufferImg->drawLine(p[2], p[3], penBlue, QPainter::CompositionMode_Source, true); //m_pScribbleArea->refreshBitmap(QRectF(p[0], p[3]).toRect(), 20); //m_pScribbleArea->refreshBitmap(rect.toRect(), rad); //}

and now works…