Fix issue layout is not changed 03/262303/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 6 Aug 2021 07:26:20 +0000 (16:26 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 6 Aug 2021 07:26:20 +0000 (16:26 +0900)
Change-Id: I89f6eb98a7535873738436fbebf154048e1322d8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ISEDefaultNUI/ISEDefaultNUI.cs
packaging/org.tizen.ISEDefaultNUI-1.0.0.tpk

index 4a37fb7..8b049a7 100644 (file)
@@ -247,10 +247,6 @@ namespace ISEDefaultNUI
             string currentLanguage = languageManager.GetCurrentLanguage();
             IseConfig.Instance.ReadIseConfig();
             LanguageInfo languageinfo = languageManager.GetLanguageInfo(iseConfig.SelectedLanguage);
-
-            IntPtr inputModePtr;
-            SclNuiGetInputMode(out inputModePtr);
-            string inputMode = Marshal.PtrToStringAnsi(inputModePtr);
             bool resetInputMode = false;
 
             SclNui.SetInputMode(languageinfo.SelectedInputMode);
@@ -260,7 +256,7 @@ namespace ISEDefaultNUI
 
             KeyboardState.Instance.VisibleState = true;
 
-            if (keyboardState.NeedReset || !iseConfig.SelectedLanguage.Equals(currentLanguage))
+            if (keyboardState.Context != ic ||  keyboardState.NeedReset || !iseConfig.SelectedLanguage.Equals(currentLanguage))
                 resetInputMode = true;
             keyboardState.NeedReset = false;
 
index cc414fc..ab3eb81 100644 (file)
Binary files a/packaging/org.tizen.ISEDefaultNUI-1.0.0.tpk and b/packaging/org.tizen.ISEDefaultNUI-1.0.0.tpk differ