[Genlist] Avoid first show when scroller policy is set as off 48/236148/2 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200616.155015 accepted/tizen/5.5/unified/wearable/hotfix/20201027.111058 submit/tizen_5.5/20200615.232949 submit/tizen_5.5_wearable_hotfix/20201026.184305
authorGodly Thekkethottiyil Alias <godly.talias@samsung.com>
Mon, 15 Jun 2020 07:40:23 +0000 (13:10 +0530)
committerGodly <godly.talias@samsung.com>
Mon, 15 Jun 2020 08:09:35 +0000 (13:39 +0530)
Change-Id: I2d7829effc128f968b86c5e162b54dd8e78f3384
Signed-off-by: Godly Thekkethottiyil Alias <godly.talias@samsung.com>
src/wearable/circle/efl_extension_circle_object_genlist.c

index 0458d98347eccbd9117c7102b199c08754dfcc8b..d2728132b8edcb75f6feaf3547c975e950f141ae 100644 (file)
@@ -2040,6 +2040,19 @@ eext_circle_object_genlist_scroller_policy_set(Evas_Object *obj,
              ecore_timer_del(widget_data->bar_hide_timer);
              widget_data->bar_hide_timer = NULL;
           }
+        //ONEUI1.5(15JUN2020): Delete first show timers if scroller policy is set as off
+        if (widget_data->change_flag_timer)
+          {
+             ecore_timer_del(widget_data->change_flag_timer);
+             widget_data->change_flag_timer = NULL;
+          }
+        if (widget_data->bar_first_show_timer)
+          {
+             ecore_timer_del(widget_data->bar_first_show_timer);
+             widget_data->bar_first_show_timer = NULL;
+          }
+        widget_data->scrollbar_initializing = EINA_FALSE;
+        //
         _eext_circle_object_genlist_scrollbar_policy_hide_cb(circle_obj);
      }
 }