Icons Layout and Previews
Benoit Walter
b.walter at free.fr
Sun Nov 2 23:01:28 GMT 2003
Hi,
I have tried to improve the painting of thumbnails during preview generation.
The problem of overlapped icons has been partially adressed by updating the
iconview every 500ms (kfileivi.cc revision 1.250). This does not really solve
the problem because the display remains ugly while generating preview during
500ms.
With the following patch, the icon view is updated when a new thumbnail has
been generated, but only if the update is needed (in most cases once for each
row). Otherwise, the icon is moved. This avoids having a messy icon layout
during generation of thumbnails.
Possible improvement:
Update the view less frequently when the generated thumbnail is not visible.
This solution is not yet perfect and it would be great if someone could try
the patch and give some comments.
Cheers,
Benoit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libkonq_preview.diff
Type: text/x-diff
Size: 5310 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031103/e9fc04d9/attachment.diff>
More information about the kfm-devel
mailing list