From: joogab.yun Date: Tue, 21 Feb 2023 03:27:17 +0000 (+0900) Subject: When setting a focus actor, we log the current focused actor and the new focused... X-Git-Tag: dali_2.2.15~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F288648%2F2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git When setting a focus actor, we log the current focused actor and the new focused actor. Change-Id: Idbdce0ae55d18dbee314b3db0994413d0acf8a30 --- diff --git a/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp b/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp index 707aa68..8792ab9 100644 --- a/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp +++ b/dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp @@ -220,7 +220,7 @@ bool KeyboardFocusManager::DoSetCurrentFocusActor(Actor actor) { if(!parent.GetProperty(DevelActor::Property::KEYBOARD_FOCUSABLE_CHILDREN)) { - DALI_LOG_INFO(gLogFilter, Debug::General, "[%s:%d] Parent Actor has KEYBOARD_FOCUSABLE_CHILDREN false\n", __FUNCTION__, __LINE__); + DALI_LOG_DEBUG_INFO("Parent Actor has KEYBOARD_FOCUSABLE_CHILDREN false\n"); return false; } parent = parent.GetParent(); @@ -228,6 +228,7 @@ bool KeyboardFocusManager::DoSetCurrentFocusActor(Actor actor) // If developer set focus on same actor, doing nothing Actor currentFocusedActor = GetCurrentFocusActor(); + DALI_LOG_DEBUG_INFO("current focused actor : [%p] new focused actor : [%p]\n", currentFocusedActor.GetObjectPtr(), actor.GetObjectPtr()); if(actor == currentFocusedActor) { return true;