From 7d72237e537717a5d3bff07a1994e4c5765a9110 Mon Sep 17 00:00:00 2001 From: "joogab.yun" Date: Tue, 21 Feb 2023 12:27:17 +0900 Subject: [PATCH] When setting a focus actor, we log the current focused actor and the new focused actor. Change-Id: Idbdce0ae55d18dbee314b3db0994413d0acf8a30 --- dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.7.4