Dear all,

I have one bug in scroller.
You can test it in "Scroller" menu of the "elementary_test".
We cannot move the scroller by dragging the bar.
The reason is why the bar-dragging-event and mouse-move-event confict.
When bar is draged, the movement by mouse-move should be freezed.
So I changed the code a little.
Please check below patch. 

Index: src/lib/els_scroller.c
===================================================================
--- src/lib/els_scroller.c (revision 57040)
+++ src/lib/els_scroller.c (work copy)
@@ -1336,6 +1336,7 @@ _smart_edje_drag_v_start(void *data, Evas_Object *
    sd = data;
    _smart_scrollbar_read(sd);
    _smart_drag_start(sd->smart_obj);
+   sd->freeze = EINA_TRUE;
 }
 
 static void
@@ -1346,6 +1347,7 @@ _smart_edje_drag_v_stop(void *data, Evas_Object *o
    sd = data;
    _smart_scrollbar_read(sd);
    _smart_drag_stop(sd->smart_obj);
+   sd->freeze = EINA_FALSE;
 }
 
 static void
@@ -1365,6 +1367,7 @@ _smart_edje_drag_h_start(void *data, Evas_Object *
    sd = data;
    _smart_scrollbar_read(sd);
    _smart_drag_start(sd->smart_obj);
+   sd->freeze = EINA_TRUE;
 }
 
 static void
@@ -1375,6 +1378,7 @@ _smart_edje_drag_h_stop(void *data, Evas_Object *o
    sd = data;
    _smart_scrollbar_read(sd);
    _smart_drag_stop(sd->smart_obj);
+   sd->freeze = EINA_FALSE;
 }
 

Thanks,
Jaehwan Kim.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to