From: joogab.yun Date: Tue, 5 Dec 2023 06:14:52 +0000 (+0900) Subject: [NUI] Add log for ClearFocus X-Git-Tag: accepted/tizen/unified/20231205.171447~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=934c5ee88b82cfa9c83af836dfb08e86f9a4d49b;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add log for ClearFocus --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs b/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs index 47b4dec..32867f5 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs @@ -1146,6 +1146,7 @@ namespace Tizen.NUI.BaseComponents // If the view had focus, it clears focus. if (child == FocusManager.Instance.GetCurrentFocusView()) { + Tizen.Log.Debug("NUI", $"ClearFocus due to View id:({child.ID}) removed from scene\n"); FocusManager.Instance.ClearFocus(); } // Do actual child removal @@ -1468,7 +1469,7 @@ namespace Tizen.NUI.BaseComponents NUILog.Debug($"============================="); base.Dispose(type); - + aliveCount--; }