If the actor had focus when it was off scene, the focus is cleared. 64/314664/7
authorjoogab.yun <joogab.yun@samsung.com>
Wed, 17 Jul 2024 05:21:13 +0000 (14:21 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Thu, 18 Jul 2024 04:32:02 +0000 (13:32 +0900)
commitf3ff88ff53f36b92b187de5925705e58a3879c54
tree53acb2005025dd921121102d0d5fe7eb51168483
parentff43185e6cb2322a4361b76182afdc83d5e26d14
If the actor had focus when it was off scene, the focus is cleared.

When the actor is off scene, the focus is not cleared.
So, when app re-add the actor and SetCurrentFocusActor, app do not receiving the FocusGained event.

Change-Id: Ic427362db70e77d482a458e4921ba5bcc7860632
automated-tests/src/dali-toolkit/utc-Dali-KeyboardFocusManager.cpp
dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp
dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.h