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: I67e236df6d41e83bd7e9135e6005c05ea7a50728
_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);
_prev_img_del(sd);