I enclosed the patch in another mail.  Please review.

On Fri, Nov 28, 2008 at 06:14:34PM +0800, John Lee wrote:
> Hi list,
> 
> In the HEAD version of ETK, scrolled_view is not draggable anymore.
> You can verify this by executing etk_test -> scrolled_view.  However,
> the mouse event can be caught by viewport.event, which is an evas obj
> on the top level.  raster added it in #34948 to add on_hold.
> 
> viewport.event is set to repeat events, but these events will
> eventually be caught by something below it, maybe buttons or the
> viewport itself.  So callbacks like _etk_scrolled_view_mouse_move, etc
> will never be called, hence the drag function won't work.  This
> behavior seems correct to me, so I wonder why the drag works in the
> first place?
> 
> This could easily be worked around by set repeat mouse events to every
> widgets in the scrolled_view, but there must be a better way to fix
> it.  I think it might make sense to move the viewport.event to
> scrolled_view, so the drag function and the on_hold function can both
> work by the same top layer evas object.
> 
> I can do a patch, but I just started to learn about ETK, so I want to
> ask first if I missed anything.
> 
> 
> Regards,
> John
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to