Il giorno dom, 14/11/2010 alle 08.46 +0100, Petr Vanek ha scritto:
> On Thu, 11 Nov 2010 21:57:31 +0100
> Marco Trevisan (Treviño) <[email protected]> (MT() wrote:
> 
> >Il giorno mer, 10/11/2010 alle 18.43 +0100, Marco Trevisan (Treviño) ha
> >scritto:
> >> This patch uses the new "scroll,edge,bottom" and "scroll,edge,top"
> >> genlist callbacks for populating the message view.
> >> By default it loads max MSG_PAGE_SIZE messages per page, then when
> >> the message list is scrolled to bottom it tryies to load more
> >> messages in the list; when the bottom top edge is reached by
> >> scrolling up, the list tries to fetch the previous messages (if they
> >> exist).
> 
> Great work. It feels that loading of new messages happens too late -
> only when we reach the last (first) record. Is there a way to do it
> "one screen of records" before?
>  [CUT]
> Or another way - do it when the center record reaches top/bottom. I am
> not sure whether this is detectable altogether... also not sure if it
> disturbs the scrolling experience too much... but much better then wait
> each time....

Well this is not actually possible, at least with the current genlist
APIs... In fact also for getting the actual to work I had to patch
elementary...

Maybe a good way would be to make the scroller inform at the end of each
scroll-move its relative position of the list (10%, 90% and so on), and
the upgrade our message-view accordingly... Suggestions?


_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to