fixup! fixup! After changed edit type, IME state doesn't change.
authorDongjun Kim <djmix.kim@samsung.com>
Thu, 26 Feb 2015 07:25:30 +0000 (16:25 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
After this patch, IME was shown up with select picker in same time.
[Reproduce step]
1. open test file(select_picker_test.html)
2. choose edit field
3. choose select picker

We need to checking "TextInputType" before updating IME state.
Reviewed by: Antonio Gomes, Hyunhak Kim, Piotr Grad

Change-Id: I926c430270272e8be7e8cf14e8144ff5d9f85e72
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
tizen_src/impl/browser/renderer_host/im_context_efl.cc

index 0fe57d1..9bc48b3 100644 (file)
@@ -220,7 +220,7 @@ void IMContextEfl::UpdateInputMethodState(ui::TextInputType type,
     // Workaround on platform issue:
     // http://107.108.218.239/bugzilla/show_bug.cgi?id=11494
     // Keyboard layout doesn't update after change.
-    if (IsIMFVisible(context_)) {
+    if (IsIMFVisible(context_) && type != ui::TEXT_INPUT_TYPE_NONE) {
         HidePanel();
         ShowPanel();
     }