combobox: prevent empty swallow to be shown on hover_dismiss animation
authordivyesh purohit <div.purohit@samsung.com>
Fri, 5 Feb 2016 06:18:04 +0000 (07:18 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 5 Feb 2016 07:45:19 +0000 (08:45 +0100)
commitc9b3cfd2b9418689362f14e7c5cc368e10d678fb
tree5c2e331ba5dfb442d1cbf05f9ee8314c43aaa239
parentf297faaa6b019fb468085f896654029cd9deb68d
combobox: prevent empty swallow to be shown on hover_dismiss animation

Summary:
Hover dismiss animation takes 0.5 sec to complete. if the genlist item_count
becomes zero, empty swallow is shown in dismiss animation.
@fix T3124
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan:
please run combobox example from elementary_test.

Open hover by pressing on left side button of combobox or pressing "enter/space" key in entry
contained in combobox.
Type a char which is not in any genlist item , for example "a' is not presented in any genlist
item.
empty swallow shouldn't seen in dismiss animation.

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3124

Differential Revision: https://phab.enlightenment.org/D3630

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
legacy/elementary/data/themes/edc/elm/hover.edc
legacy/elementary/src/lib/elc_combobox.c
legacy/elementary/src/lib/elm_widget_combobox.h