Hanging when playing with the layerbox

Boudewijn Rempt boud at valdyas.org
Fri Jan 6 23:20:05 CET 2006

On Friday 06 January 2006 23:12, Bart Coppens wrote:
> On Friday 06 January 2006 21:17, Boudewijn Rempt wrote:
> > I can pretty consistenly bring Krita into a deadlock state by playing
> > with the layerbox -- and the hangs happen in the histogram threading
> > code.
> Ah, Adrian fixed something there to prevent a crash with the threading
> code, so maybe it's not completely fixed yet? (In any case, I haven't
> noticed any of those crashes, or I'd be fixing them already)
> > (And I'm thinking -- if the histogram box is invisible, which it is
> > mostly, then we shouldn't do the calculations,
> Great idea!
> > and even if it is, we shouldn't do
> > th calculations on every change of active layer, but only after a timer
> > has expired.)
> That we do already :-) Afaik it's a timer that measures 250ms of inactivity
> before it actually starts updating.

Maybe the layer box bypasses that somehow, because I notice a debug message 
every time I switch a layer. Or maybe I'm not switching layers fast 
enough :-)
Boudewijn Rempt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060106/9977b898/attachment.pgp

More information about the kimageshop mailing list