naviframe: Fix to finish transition for newly pushed item
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>
Wed, 6 Sep 2017 11:35:38 +0000 (20:35 +0900)
commit68b6a8f29f0d43f17a1d39f74764cf7b7a24dda8
tree4321a381c47ee7e44b5e05c48466f2c882be5624
parent26bacce0fd117896be65ebd75db4fed433529bd1
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.
src/lib/elementary/elc_naviframe.c