[Non-ACR][NUI][Change the focus order of InputMethodContext] 02/232502/2
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 6 May 2020 04:57:59 +0000 (13:57 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 6 May 2020 05:02:22 +0000 (14:02 +0900)
- To set the focus on View should be done after getting InputMethodContext

Change-Id: I935a67da6f49d460c5d7b4a48d68c95405b75c8f
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs

index 26699fa..766136d 100755 (executable)
@@ -634,8 +634,8 @@ namespace Tizen.NUI.Tests
                 Focusable = true,
             };
             NUIApplication.GetDefaultWindow().GetDefaultLayer().Add(editor);
-            FocusManager.Instance.SetCurrentFocusView(editor);
             var inputMethodContext = editor.GetInputMethodContext();
+            FocusManager.Instance.SetCurrentFocusView(editor);
             await Task.Delay(500);
             if (inputMethodContext)
             {
@@ -680,8 +680,8 @@ namespace Tizen.NUI.Tests
                 Focusable = true,
             };
             NUIApplication.GetDefaultWindow().GetDefaultLayer().Add(editor);
-            FocusManager.Instance.SetCurrentFocusView(editor);
             var inputMethodContext = editor.GetInputMethodContext();
+            FocusManager.Instance.SetCurrentFocusView(editor);
             await Task.Delay(500);
             if (inputMethodContext)
             {
@@ -725,8 +725,8 @@ namespace Tizen.NUI.Tests
                 Focusable = true,
             };
             NUIApplication.GetDefaultWindow().GetDefaultLayer().Add(editor);
-            FocusManager.Instance.SetCurrentFocusView(editor);
             var inputMethodContext = editor.GetInputMethodContext();
+            FocusManager.Instance.SetCurrentFocusView(editor);
             await Task.Delay(500);
             if (inputMethodContext)
             {