Version: 2.1 Alpha (using 4.2.2 (KDE 4.2.2), Kubuntu packages) Compiler: cc OS: Linux (x86_64) release 2.6.28-11-generic there's so odd behaviour when working with rgb 16bits and a wacom tablet, its like the pressure curve has a big step, and using the stylus softly doesn't paint anything. I tested with rgb 8bits and works normally. 1. start a new document rgb 16bits 2. try to paint a line with the stylus, start the line by pressing softly and continue increasing the pressure. 3. the stylus doesn't paint at low pressures
Yes, I've seen this too. Probably something stupid in the opacity paintop option.
I'm thinking that this line: painter->setOpacity((qint8)qBound<qint32>(OPACITY_TRANSPARENT, opacity, OPACITY_OPAQUE )); should be: painter->setOpacity((quint8)qBound<qint32>(OPACITY_TRANSPARENT, opacity, OPACITY_OPAQUE )); And maybe we should use qreals here, but that doesn't solve the problem yet.
Ok, the problem is not in the paintop. I think the alpha-darken compositeop is broken for 16 bit rgb, since only opacity == 255 is painted, and when I use buildup mode, brush looks like pencil (which would mean that other 16 bit compositeops are broken, too).
SVN commit 975973 by rempt: Scale the opacity before compositing I didn't scale the opacity to the native channeltype, so painting on 16 bit colorspaces was broken. This needs probably backporting. CCBUG:194476 (Note: painting in 16bit mode is still broken, just not as broken as before...) M +4 -2 KoCompositeOpAlphaDarken.h WebSVN link: http://websvn.kde.org/?view=rev&revision=975973
Seems to work for me, can this still be reproduced ?
seems that way :D