[PATCH] Fix image problems in the regtester output..

Maks Orlovich maksim at kde.org
Wed Jun 22 03:02:02 BST 2005


Hi.. I've analyzed the problems with the images/flicker mode in the regtester 
output not working properly, proposed fix attached.

The problem is that the new image in those pages is often ref'd before 
the ::finished call has been made, but past the stage where the first 
notifyFinished is issued in the "ooh, it loaded!" code paths, but at that 
moment the cache is still not in a complete status, meaning that no 
notifyFinished was emitted for the new image. As a result, the oimage flicker 
reduction thingie was tending to prefer old image (since new one wasn't done 
yet). The attached makes sure that images are always marked as loaded when 
notifyFinished for them has been emitted. 

This could also fix a few cases where we did not emit onload properly, of 
course..

-Maks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_reg_output_image.diff
Type: text/x-diff
Size: 784 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050621/d64d4ca9/attachment.diff>


More information about the kfm-devel mailing list