[M120 Migration] Fix IME flicker issue 86/305986/3
authorNishitha S <n.saravanan@samsung.com>
Wed, 14 Feb 2024 11:21:41 +0000 (16:51 +0530)
committerBot Blink <blinkbot@samsung.com>
Thu, 15 Feb 2024 03:32:52 +0000 (03:32 +0000)
Corresponding IME panel should be shown directly for each input type without
any visible switching between the panel layout types. This patch makes
necessary changes to handle IME flicker issue in RPI4 and FHUB.

Reference: https://review.tizen.org/gerrit/#/c/302466

Change-Id: I3774f05b75d33f538c23decdb19ec99499bc149f
Signed-off-by: nishitha <n.saravanan@samsung.com>
tizen_src/chromium_impl/ui/ozone/platform/efl/efl_input_method_context.cc
tizen_src/chromium_impl/ui/ozone/platform/efl/im_context_efl.cc

index b928df0..d46578e 100644 (file)
@@ -64,13 +64,8 @@ void EflInputMethodContext::Reset() {
 }
 
 void EflInputMethodContext::Focus() {
-#if !BUILDFLAG(IS_TIZEN_TV)
-  if (im_context_ && !im_context_->IsVisible())
-    im_context_->ShowPanel();
-#else
   if (im_context_ && !im_context_->IsFocused())
     im_context_->OnFocusIn();
-#endif
 }
 
 void EflInputMethodContext::Blur() {
index 7a438ec..6927c77 100644 (file)
@@ -355,12 +355,6 @@ void IMContextEfl::UpdateInputMethodState(TextInputType type,
   if (current_type_ != type || can_compose_inline_ != can_compose_inline) {
     UpdateInputMethodType(type, TEXT_INPUT_MODE_DEFAULT, can_compose_inline);
 #endif
-
-    // Workaround on platform issue:
-    // http://107.108.218.239/bugzilla/show_bug.cgi?id=11494
-    // Keyboard layout doesn't update after change.
-    if (IsVisible() && type != TEXT_INPUT_TYPE_NONE)
-      HidePanel();
   }
 
   current_type_ = type;