even though sd->img should be hidden while preloading,
the elm_image object itself need to be marked as visible
so related jobs can be done on elm_widget level.
Change-Id: I1a1603027ab9b064c3386ef78b1e15343edfd6ed
_elm_image_evas_object_smart_show(Eo *obj, Elm_Image_Data *sd)
{
sd->show = EINA_TRUE;
- if (sd->preload_status == ELM_IMAGE_PRELOADING) return;
-
eo_do_super(obj, MY_CLASS, evas_obj_smart_show());
+ if (sd->preload_status == ELM_IMAGE_PRELOADING)
+ {
+ //TIZEN_ONLY(20170106): This code will be added in upstream
+ // after a related patch is applied in evas
+ evas_object_hide(sd->img);
+ //
+ return;
+ }
+
evas_object_show(sd->img);
ELM_SAFE_FREE(sd->prev_img, evas_object_del);