Icons Layout and Previews

Benoit Walter b.walter at free.fr
Mon Nov 3 23:09:40 GMT 2003


I have improved this patch and this should work better now. The iconview is 
now updated only for visible icons, otherwise the update is delayed.
It fixes a bug and does not change any i18n string. Can someone review it?

Benoit.


On Monday 03 November 2003 00:01, Benoit Walter wrote:
> 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: 7049 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031104/e0d48242/attachment.diff>


More information about the kfm-devel mailing list