[Tizen-submit] 15339: Changes to Tizen:IVI/weekeyboard

noreply at tizen.org noreply at tizen.org
Wed Oct 2 15:20:43 GMT 2013


Hi,
Eduardo Lima (Etrunko) have made the following changes to weekeyboard in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15339

  submit:       Tizen:IVI:build/weekeyboard(cleanup) -> Tizen:IVI


Message:
Submitter: Eduardo Lima (Etrunko) <eduardo.lima at intel.com>
Comments: Fixed handling of backspace key press
Git project: profile/ivi/weekeyboard
Tag: submit/tizen/20131002.152102
Commit: c1dccdd6c19074c21231fcd21c68518b4ebfdc77 Fix handling of backspace key press

State:   new        2013-10-02T15:19:19 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0005-Fix-handling-of-backspace-key-press.patch

spec files:
-----------
--- weekeyboard.spec
+++ weekeyboard.spec
@@ -1,7 +1,7 @@
 Name:           weekeyboard
 Version:        0.0.1
 Release:        2
-VCS:            profile/ivi/weekeyboard#submit/tizen/20130926.221711-0-g01ffc3c1d68e0ca82ee277ed9d57d6d3a6f21199
+VCS:            profile/ivi/weekeyboard#submit/tizen/20131002.152102-0-gc1dccdd6c19074c21231fcd21c68518b4ebfdc77
 License:        Apache-2.0
 Summary:        Virtual Keyboard Application
 Url:            http://www.enlightenment.org/
@@ -13,6 +13,7 @@
 Patch1:         0002-Force-engine-to-Wayland-SHM.patch
 Patch2:         0003-Fix-handling-of-Enter-key-press.patch
 Patch3:         0004-Revert-Force-engine-to-Wayland-SHM.patch
+Patch4:         0005-Fix-handling-of-backspace-key-press.patch
 BuildRequires:  pkgconfig(eina)
 BuildRequires:  pkgconfig(eet)
 BuildRequires:  pkgconfig(evas)
@@ -34,6 +35,8 @@
 %patch2 -p1
 # 0004-Revert-Force-engine-to-Wayland-SHM.patch
 %patch3 -p1
+# 0005-Fix-handling-of-backspace-key-press.patch
+%patch4 -p1
 cp %{SOURCE1001} .
 
 %build

other changes:
--------------

++++++ 0005-Fix-handling-of-backspace-key-press.patch (new)
--- 0005-Fix-handling-of-backspace-key-press.patch
+++ 0005-Fix-handling-of-backspace-key-press.patch
@@ -0,0 +1,34 @@
+From: "Eduardo Lima (Etrunko)" <eduardo.lima at intel.com>
+Date: Wed, 2 Oct 2013 12:16:37 -0300
+Subject: Fix handling of backspace key press
+
+Change-Id: I5f3aca27d1e03636dfcda1d5204abd9c7a4b0ed9
+Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima at intel.com>
+---
+ src/wkb-main.c |    5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+diff --git a/src/wkb-main.c b/src/wkb-main.c
+index c845ee2..0331c61 100644
+--- a/src/wkb-main.c
++++ b/src/wkb-main.c
+@@ -177,7 +177,10 @@ _cb_wkb_on_key_down(void *data, Evas_Object *obj, const char *emission EINA_UNUS
+    else if (strcmp(key, "backspace") == 0)
+      {
+         if (strlen(wkb->preedit_str) == 0)
++          {
+              wl_input_method_context_delete_surrounding_text(wkb->im_ctx, -1, 1);
++             wl_input_method_context_commit_string(wkb->im_ctx, wkb->serial, "");
++          }
+         else
+           {
+              wkb->preedit_str[strlen(wkb->preedit_str) - 1] = '\0';
+@@ -189,7 +192,7 @@ _cb_wkb_on_key_down(void *data, Evas_Object *obj, const char *emission EINA_UNUS
+    else if (strcmp(key, "enter") == 0)
+      {
+         _wkb_commit_preedit_str(wkb);
+-        wl_input_method_context_keysym(wkb->im_ctx, wkb->serial, time,
++        wl_input_method_context_keysym(wkb->im_ctx, wkb->serial, 0,
+ 			XKB_KEY_Return, WL_KEYBOARD_KEY_STATE_PRESSED,
+ 			0);
+         goto end;


More information about the Tizen-submit mailing list