evas_object_geometry_get(sd->parent, &x, &y, &w, &h);
evas_object_move(sd->bg, x, y);
evas_object_resize(sd->bg, w, h);
+
+ if (sd->visible)
+ if (sd->show_finished)
+ _visible_signals_emit(obj, sd->dir);
+ else
+ _show_signals_emit(obj, sd->dir);
}
static void
/* TIZEN_ONLY(20170123): to avoid flickering problem when rotate device
_show_signals_emit(data, sd->dir);
- */
- _visible_signals_emit(data, sd->dir);
- /* END */
+ */
}
}
edje_object_message_signal_process(VIEW(item));
}
- if (evas_object_visible_get(sd->bg))
- edje_object_signal_emit(sd->bg, "elm,state,show", "elm");
-
if (sd->scr)
{
elm_layout_theme_set(sd->scr, "scroller", "ctxpopup", elm_widget_style_get(obj));
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
sd->visible = EINA_TRUE;
+ sd->show_finished = EINA_FALSE;
//TIZEN_ONLY(20170919): Handle default label object
_elm_win_default_label_obj_append(obj);
//
elm_layout_sizing_eval(obj);
elm_object_focus_set(obj, EINA_TRUE);
- _show_signals_emit(obj, sd->dir);
}
EOLIAN static void
const char *emission EINA_UNUSED,
const char *source EINA_UNUSED)
{
+ ELM_CTXPOPUP_DATA_GET(obj, sd);
+ sd->show_finished = EINA_TRUE;
elm_object_focus_set(data, EINA_TRUE);
}
/* END */