usability fix for krita; stroke from outside the canvas

Cyrille Berger cberger at cberger.net
Thu Feb 26 00:21:50 CET 2009


On Saturday 14 February 2009, Boudewijn Rempt wrote:
> On Friday 13 February 2009, Thomas Zander wrote:
> > Hi,
> >
> > I had some brainstorming here how to solve a problem that Krita is
> > especially hit by.
> > As you might know since the new krita canvas classes and the
> > canvasController we lost the ability to start a stroke outside of the
> > actual painting and drag the pointer into the canvas to make it still
> > paint.
> > KOffice 1.6 had it, so its a regression.
> >
> > I created a patch and it seems to work mostly OK for me for flake tools
> > (the caligraphy tool works good with it). So I think the concept is
> > sound.
> >
> > For some reason the krita tools don't have any effect with it, and I
> > don't have time to look into that right now.
> >
> > Would a good soul here be able to take a look?
> > Find attached the patch;
>
> Hm... We're not there. Some tools seem to throw the system into an infinite
> loop on canvas entry, and the flake freehand tool only starts about twenty
> pixels from inside the document edge. I'll do some more testing today.
I have added to quickly disable the workaround for the tablet tracking bug, in 
kis_qpainter_canvas.cpp, just comment #define WORKAROUNT_TABLET_TRACKING_BUG
 and you get a clean behaviour. Still hadn't had the opportunity to check the 
patch.

-- 
Cyrille Berger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090226/a2bf80e1/attachment.htm 


More information about the kimageshop mailing list