#ifdef HAVE_VCONF
vconf_set_str (VCONFKEY_ISF_ACTIVE_KEYBOARD_UUID, uuid.c_str ());
#endif
+ LOGD ("Succeeded to launch IME (%s)\n", uuid.c_str ());
+ }
+ else {
+ LOGW ("Failed to launch IME (%s)\n", uuid.c_str ());
}
return ise_changed;
}
}
+ LOGW ("Failed to launch IME (%s)\n", uuid.c_str ());
+
return false;
}
if ((_info_manager->get_current_toolbar_mode () == TOOLBAR_KEYBOARD_MODE) && (modes[get_ise_index (_initial_ise_uuid)] != TOOLBAR_KEYBOARD_MODE)) {
active_uuid = String (SCIM_COMPOSE_KEY_FACTORY_UUID);
}
+
if (set_active_ise (active_uuid, _soft_keyboard_launched) == false) {
- if (_initial_ise_uuid.compare (active_uuid))
+ if (_initial_ise_uuid.compare (active_uuid)) {
+ LOGD ("Trying to launch initial IME (%s)\n", _initial_ise_uuid.c_str ());
set_active_ise (_initial_ise_uuid, _soft_keyboard_launched);
+ }
}
} else if (_info_manager->get_current_toolbar_mode () == TOOLBAR_HELPER_MODE) { // Check whether keyboard engine is installed
String IMENGINE_KEY = String (SCIM_CONFIG_DEFAULT_IMENGINE_FACTORY) + String ("/") + String ("~other");
}
#endif
}
-
+ else
+ LOGW ("No IME list\n");
#ifdef HAVE_PKGMGR_INFO
if (!pkgmgr) {
set_keyboard_engine (String (SCIM_COMPOSE_KEY_FACTORY_UUID));
if (_info_manager->start_helper (uuid))
_soft_keyboard_launched = true;
+ else
+ LOGW ("Failed to start helper (%s)\n", uuid.c_str ());
}
}
}
}
app_control_destroy (app_control);
- LOGD ("Launch %s\n", app_id);
+ LOGD ("Succeeded to launch IME (%s)\n", app_id);
}
static void slot_run_helper (const String &uuid, const String &config, const String &display)
}
}
/* execute type IME */
+ LOGD ("Try to launch IME (%s)\n", uuid.c_str ());
app_control_launch (uuid.c_str ());
}
else {
}
else {
if (set_active_ise (uuid, true) == false) {
- if (_initial_ise_uuid.compare(uuid))
+ if (_initial_ise_uuid.compare(uuid)) {
+ LOGD ("Trying to launch initial IME (%s)\n", _initial_ise_uuid.c_str ());
set_active_ise (_initial_ise_uuid, true);
+ }
}
}
}
ret = pkgmgrinfo_appinfo_filter_add_string (handle, PMINFO_APPINFO_PROP_APP_CATEGORY, "http://tizen.org/category/ime");
if (ret == PMINFO_R_OK) {
ret = pkgmgrinfo_appinfo_filter_foreach_appinfo (handle, isf_pkg_ime_app_list_cb, NULL);
+ if (ret != PMINFO_R_OK) {
+ LOGW ("pkgmgrinfo_appinfo_filter_foreach_appinfo failed(%d)\n", ret);
+ }
}
else {
LOGE ("pkgmgrinfo_appinfo_filter_add_string failed(%d)", ret);