Backup the InputMethodContext operations 23/216523/6
authorJiyun Yang <ji.yang@samsung.com>
Mon, 28 Oct 2019 02:20:46 +0000 (11:20 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Mon, 4 Nov 2019 02:42:58 +0000 (11:42 +0900)
commitc251317f389938a57f4464be43666330f6258212
tree6a15255f4f114beab7b98b1b7ccf5eabc7c6b0f0
parent9b599dc37056502f6d35e3f7a693bbf65331ce1a
Backup the InputMethodContext operations

Backup the InputMethodContext operations such as "SetInputPanelLanguage", "AutoEnableInputPanel" and etc.

Previously, we had two problems
1. InputMethodContext ignores the options set before the actor is on a Window.
2. InputMethodContext resets its options after the actor changes its Window.

By storing operations when they are called and reapplying them after the actor is connected to Window,
the InputMethodContext can keep the options regardless of Window.

Change-Id: I5a607619a06de88d1c5202aa2d82f5fafc455c70
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dali/internal/input/common/input-method-context-impl.cpp
dali/internal/input/common/input-method-context-impl.h
dali/internal/input/tizen-wayland/input-method-context-impl-ecore-wl.cpp