{
ELM_ENTRY_DATA_GET(data, sd);
+ /* TIZEN_ONLY(20171213): disable text selection by user interaction if elm_entry_select_allow_set() is called with EINA_FALSE */
+ if (!sd->sel_allow) return;
+ /* END */
+
sd->sel_mode = EINA_TRUE;
if (edje_object_part_text_selection_get(sd->entry_edje, "elm.text") == NULL)
Evas_Textblock_Cursor *cur = NULL;
int pos = 0;
+ /* TIZEN_ONLY(20171213): disable text selection by user interaction if elm_entry_select_allow_set() is called with EINA_FALSE */
+ if (!sd->sel_allow) return;
+ /* END */
+
sd->sel_mode = EINA_TRUE;
_adjust_eol_cursor(data);
if (sd->hoversel) evas_object_hide(sd->hoversel);
if (sd->sel_mode)
{
+ /* TIZEN_ONLY(20171213): disable text selection by user interaction if elm_entry_select_allow_set() is called with EINA_FALSE
if (!_elm_config->desktop_entry)
+ */
+ if (sd->sel_allow && !_elm_config->desktop_entry)
+ /* END */
{
if (!sd->password)
edje_object_part_text_select_allow_set
// TIZEN ONLY (20150205): Support CopyPasteUI
if ((sd->api) && (sd->api->obj_hidemenu))
sd->api->obj_hidemenu(data);
- if (!_elm_config->desktop_entry)
+ if (sd->sel_allow && !_elm_config->desktop_entry)
edje_object_part_text_select_allow_set(sd->entry_edje, "elm.text",
EINA_TRUE);
//
// TIZEN ONLY (20150205): Support CopyPasteUI
if ((sd->api) && (sd->api->obj_hidemenu))
sd->api->obj_hidemenu(data);
- if (!_elm_config->desktop_entry)
+ if (sd->sel_allow && !_elm_config->desktop_entry)
edje_object_part_text_select_allow_set(sd->entry_edje, "elm.text",
EINA_TRUE);
//
if (!ext_mod->selmode && !ext_mod->have_selection)
{
- if (!elm_entry_is_empty(obj))
+ if (!elm_entry_is_empty(obj) && elm_entry_select_allow_get(obj))
{
if (!ext_mod->password)
{
{
Eina_Bool selected_all = EINA_TRUE;
ext_mod->is_selected_all(&selected_all, obj, NULL);
- if (selected_all == EINA_FALSE)
+ if ((selected_all == EINA_FALSE) && elm_entry_select_allow_get(obj))
{
CP_ICON_ADD(icon, "select_all");
if (ext_mod->profile_wear)
else
{
_cancel(obj,ext_mod->popup,NULL);
- if (!elm_entry_is_empty(obj))
+ if (!elm_entry_is_empty(obj) && elm_entry_select_allow_get(obj))
{
if (!ext_mod->password)
{