//first add it to our own children list
_widget_add_sub(obj, sd, sobj);
+ //TIZEN_ONLY(20200911): restore hide callback for sub-object
+ if (is_widget)
+ efl_event_callback_add(sobj, EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED, _on_sub_obj_hide, obj);
+ //
+
//and if it is a widget, please set the correct parent on the widget itself
//the parent set method will take care of the property syncing etc.
if (is_widget)
_widget_del_sub(obj, sd, sobj);
+ //TIZEN_ONLY(20200911): restore hide callback for sub-object
+ if (is_widget)
+ efl_event_callback_del(sobj, EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED, _on_sub_obj_hide, obj);
+ //
+
return EINA_TRUE;
}