naviframe: Fix to finish transition for newly pushed item 68/152268/1 accepted/tizen/4.0/unified/20170929.075917 submit/tizen_4.0/20170928.043352
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 6 Sep 2017 11:04:41 +0000 (20:04 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 25 Sep 2017 11:08:15 +0000 (20:08 +0900)
commitddc897639d1b14a7c35a79ec3f38daa60498cdea
tree8ef6b6dc8998941b83c5c15ddac8e32ebe9fcc9d
parent5e0653f44b50398498fda10f7cf556f914a89d90
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