efl_ui_win: show internal objects again on show if first_draw flag is set

Summary:
in this case, a window is being shown again after being hidden, so it's safe
to immediately show these objects as the size will not have changed since
they were last visible

fix T7172
ref fa02f16a3f

Reviewers: kimcinoo, eagleeye

Reviewed By: kimcinoo

Subscribers: cedric, #committers

Tags: #efl_widgets

Maniphest Tasks: T7172

Differential Revision: https://phab.enlightenment.org/D6646
This commit is contained in:
Mike Blumenkrantz 2018-07-24 09:18:50 -05:00 committed by Derek Foreman
parent 6fb4608458
commit 6fa9fd789e
1 changed files with 13 additions and 0 deletions

View File

@ -2377,6 +2377,19 @@ _efl_ui_win_show(Eo *obj, Efl_Ui_Win_Data *sd)
}
_elm_win_state_eval(NULL);
}
if (!sd->first_draw) return;
if (sd->frame_obj)
{
evas_object_show(sd->frame_obj);
}
if (sd->img_obj)
{
evas_object_show(sd->img_obj);
}
if (sd->pointer.obj)
{
evas_object_show(sd->pointer.obj);
}
}
static void