Em 10-11-2010 23:49, Carsten Haitzler (The Rasterman) escreveu:
> On Wed, 10 Nov 2010 15:02:38 +0000 Rui Miguel Silva Seabra<r...@1407.org>  
> said:
>
>> Em 10-11-2010 03:10, Carsten Haitzler (The Rasterman) escreveu:
>>> well to some extent genlist does it - but it comes at the cost of genlist
>>> having to query and figure out the size of every element. if your data is
>>> "expensive" to fetch you could use this for pagination of the content
>>> yourself. though as such if fetching is "expensive" (heavy disk io, network
>>> io etc.)  then it might be better to "add" items even though you dont have
>>> the data yet from the other end and when requested you do an async fetch of
>>> the item. return dummy empty strings/icons etc. until the result comes back
>>> (and then cache the result and update the item(s) u got the result(s) for).
>>
>> Last time I tried to update a genlist so I could have relative timings
>> in elmdentica I got very garbled genlists:
>>
>> http://files.1407.org/1-ed_before_item_update.png
>> http://files.1407.org/2-ed_after_item_update.png
>>
>> Dragging the list fixed the display but... that's not really the solution:
>>
>> http://files.1407.org/3-ed_after_dragging.png
>
> thats some kind of bug i need to look into... well at least reproduce. one
> problem is you have linewrap items. that means height depends on width and
> width may or may not be known or correct at time of size min calculation. in
> general it is a sore point at the moment as it always has to be handled
> specially.

For reproduction,

cd trunk/elmdentica/src
vi elmdentica.c
look for a #undef called AUTO_UPDATE (or similar) and change it into a 
#define, should enable the piece of code causing it.

Rui


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to