naviframe: Fix to finish transition for newly pushed item 67/148067/2
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 6 Sep 2017 11:04:41 +0000 (20:04 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 11 Sep 2017 02:15:33 +0000 (02:15 +0000)
commit02db89028177ac62ed53ed8aa82bad1e8a3258ac
tree2e52ee5e5cbdc87cf045709f65f2f3aef2b33eff
parent63362f369d3431aac09f5123a8a8ea400a4446cf
naviframe: Fix to finish transition for newly pushed item

Suppose naviframe top item is "A" and a new item "B" is newly pushed.
In this case, if "A" is deleted by elm_object_item_del() before
transition for "B" is started, then signal for "B" is also not sent and
"B" does not become visible.

The above issue happened if the transition effect was implemented by
using deferred signals (i.e. "pushed,deferred" and "popped,deferred").

To resolve the above issue, the signal only for the deleted item is not
sent.

Suppose naviframe top item is "A" and a new item "B" is newly pushed.
In this case, if "B" is deleted by elm_object_item_del() before
transition for "B" is started, then signal for "A" is still sent and "A"
becomes invisible.

To resolve the above issue, if the deleted item is the top item and it
is in the middle of item push, then all the signals related to the
deleted item are not sent.

Change-Id: I33c9f5039a8d3a3e5c60259a14edae395503ddd8
src/lib/elc_naviframe.c