[Kde-bindings] Working with connects to ruby blocks only work irregular

Arno Rehn arno at arnorehn.de
Fri Jul 23 12:37:00 UTC 2010


On Friday 23 July 2010 13:35:50 Robert Riemann wrote:
> Hi all,
> 
> In my application I want to download some thumbnail images using
> KIO::storedGet. the kio job should return a signal 'result(KJob*)' when the
> downloaded data is ready for reading.
> 
> Unfortunately It seems. that in my case the ruby block, which is connected
> to the result signal, gets only irregualar executed.
> 
> I found out, then when I use c++synatax-like connections, everythng seems
> to work as it should.
> 
> You find the (not) working example here: http://pastie.org/1056803
> Maybe the kio job gets garbage collected in the meantime.
Could you tell us which steps to take to reproduce the problem with your app? 
Or provide a simple testcase?
I've just taken a look at the code, and I don't see anything that could be 
going wrong. So I need to test it myself.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list