On Wed, Aug 5, 2009 at 1:48 PM, N-Billy<[email protected]> wrote:
> now I finally found a way to fix this, though I'm sure it's rather a
> workaround than a fix.
>
> the problem seems to be that evas has to render in order to correct the
> coordinates of the buttons within the block. Thus, enforcing evas_render
> and adjusting the scroller again works fine.
> Could pls s.o. look into that issue? I assume this render operation
> should be placed somewhere else, but I dunno where. Just calling it
> before adjusting the scroller region doesn't work.
>
>
> Index: src/lib/elm_genlist.c
> ===================================================================
> --- src/lib/elm_genlist.c       (revision 41609)
> +++ src/lib/elm_genlist.c       (working copy)
> @@ -1902,6 +1902,11 @@
>                                         it->x + it->block->x,
>                                         it->y + it->block->y,
>                                         it->block->w, it->h);
> +   evas_render(evas_object_evas_get(it->wd->obj));
> +   elm_smart_scroller_child_region_show(it->wd->scr,
> +                                       it->x + it->block->x,
> +                                       it->y + it->block->y,
> +                                       it->block->w, it->h);
>  }

I have not followed this thread in depth or investigated the problem,
but this is wrong. You should never force evas to render at any time,
this is bad.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to