[tizen v3.0] Fixing malfunction of IME in Korean language mode
authorYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 24 Jun 2015 06:57:42 +0000 (15:57 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
[Issue]
A preediting Korean word is deleted, right after completion of the word.

[cause]
The API 'ecore_imf_context_reset' has been used in wrong case.

The usage of the API is like below in editable element.

1) When focus is out
2) When position of a cursor is moved by touch input
3) Before text selection starts
4) Before deleting string

[resolve]
This patch removes a redundant API.
When a preediting Korean word is completed,
platform emits a event 'ECORE_IMF_CALLBACK_COMMIT'
although 'ecore_imf_context_reset' is not called.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13441
Reviewed by: Antonio Gomes, Hyunhak Kim

Change-Id: I047411be517f0358d0a6f468fa71b95727159d46
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/im_context_efl.cc

index 78a7ce1..da55690 100755 (executable)
@@ -441,7 +441,6 @@ void IMContextEfl::OnPreeditChanged(void* data, Ecore_IMF_Context* context, void
     preedit_queue_.push(composition_);
   else {
     view_->SetComposition(composition_);
-    ResetIMFContext();
   }
 
   free(buffer);