When setting a focus actor, we log the current focused actor and the new focused... 48/288648/2
authorjoogab.yun <joogab.yun@samsung.com>
Tue, 21 Feb 2023 03:27:17 +0000 (12:27 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 21 Feb 2023 04:55:12 +0000 (13:55 +0900)
Change-Id: Idbdce0ae55d18dbee314b3db0994413d0acf8a30

dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp

index 707aa68..8792ab9 100644 (file)
@@ -220,7 +220,7 @@ bool KeyboardFocusManager::DoSetCurrentFocusActor(Actor actor)
     {
       if(!parent.GetProperty<bool>(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;