bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3798356819bfede4d6c1d128da06fb8bc9a92de8

commit 3798356819bfede4d6c1d128da06fb8bc9a92de8
Author: WooHyun Jung <[email protected]>
Date:   Thu Jul 11 10:18:50 2019 +0000

    efl_ui_text: avoid infinite loop when long pressing
    
    Long pressing on efl_ui_text gave inifinte loop. So, I removed
    event_call in the event callback function.
    I think long press functionality is almost broken after applying
    clickable_util. There is no way to remove long press timer based
    on the action on efl_ui_text.
    
    Reviewed-by: Marcel Hollerbach <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D9274
---
 src/lib/elementary/efl_ui_text.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index 87f2ca5cc2..34e8a4f62b 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -1427,7 +1427,6 @@ _long_press_cb(void *data, const Efl_Event *ev 
EINA_UNUSED)
    sd->long_pressed = EINA_TRUE;
 
    sd->longpress_timer = NULL;
-   efl_event_callback_call(data, EFL_UI_EVENT_LONGPRESSED, NULL);
 }
 
 static void

-- 


Reply via email to