Modified to calculate the position of magnifier properly when IME is first shown 84/286584/1
authorInhong <tukkong123@naver.com>
Tue, 10 Jan 2023 08:06:12 +0000 (17:06 +0900)
committerInhong <tukkong123@naver.com>
Tue, 10 Jan 2023 08:06:12 +0000 (17:06 +0900)
Change-Id: I1bd3bd047a66ba7e24168b2742019fb112e68785

ISEDefaultNUI/ISEDefaultNUI.csproj
ISEDefaultNUI/SCLNUI.cs
ISEDefaultNUI/tizen-manifest.xml

index d8503a9d8e47787a0aebfecf591354a1c2dcd5b2..cd44f67b4b415058951b41341c58fc1411615a72 100644 (file)
@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <OutputType>Exe</OutputType>
-    <TargetFramework>tizen90</TargetFramework>
+    <TargetFramework>tizen11.0</TargetFramework>
     <TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>
   </PropertyGroup>
 
@@ -14,7 +14,7 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="Tizen.NET" Version="9.0.0.16707">
+    <PackageReference Include="Tizen.NET" Version="11.0.0.17642">
       <ExcludeAssets>Runtime</ExcludeAssets>
     </PackageReference>
     <Folder Include="lib\" />
index c69f37e82ecdb9f477cfd1f2c824b9ab4d221166..ae01badb07a6d4ae676500a146f1cc26785fb670 100644 (file)
@@ -520,7 +520,7 @@ namespace ISEDefaultNUI
             SclNuiEventNotificationCb(_onEventNotification);
 
             Window.Instance.TouchEvent += OnWindowTouched;
-            Window.Instance.Resized += OnResized;
+            Window.Instance.OrientationChanged += OnWindowOrientationChangedEvent;
 
             BackKeyPressed += (object source, EventArgs args) =>
             {
@@ -573,9 +573,10 @@ namespace ISEDefaultNUI
             return false;
         }
 
-        private void OnResized(object sender, Window.ResizedEventArgs e)
+        private void OnWindowOrientationChangedEvent(object sender, WindowOrientationChangedEventArgs e)
         {
-            SclNuiSetRotation((int)Window.Instance.GetCurrentOrientation());
+            Log.Info("NUIIME", "orientation : " + e.WindowOrientation.ToString());
+            SclNuiSetRotation((int)e.WindowOrientation);
         }
 
         ~SCLNUI()
index 8c4b7f9d954ba6815b0904dd049a53eb7f88f3d4..9fb4222f4ef6c11820e3d87a1d76d570841be918 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<manifest package="org.tizen.ISEDefaultNUI" version="1.0.0" api-version="6.5" xmlns="http://tizen.org/ns/packages">
+<manifest package="org.tizen.ISEDefaultNUI" version="1.0.0" api-version="7.5" xmlns="http://tizen.org/ns/packages">
     <profile name="common" />
     <ui-application appid="org.tizen.ISEDefaultNUI" exec="ISEDefaultNUI.dll" multiple="false" nodisplay="true" taskmanage="false" type="dotnet" launch_mode="single">
         <label>Tizen NUI keyboard</label>