forked from enlightenment/efl
[Entry] Avoid showing multiple popups on one entry.
Multiple popups (anchor hover and hoversel) are showing in following cases: - Run elementary_test with Mobile profile --> Entry Anchor + click on anchor to show hover, then press menu key + right click on anchor
This commit is contained in:
parent
758d01ef99
commit
dbfd56f98e
|
@ -1473,3 +1473,8 @@
|
|||
|
||||
* Add the elm_scrollable_interface_content_viewport_resize_cb_set.
|
||||
When the viewport is resized, the enrolled function is called.
|
||||
|
||||
2013-07-03 Thiep Ha
|
||||
|
||||
* Fix bug of showing multiple popups in Entry.
|
||||
|
||||
|
|
|
@ -254,6 +254,7 @@ Fixes:
|
|||
* Block mouse events when the ctxpopup on dismiss.
|
||||
* Fix crash of elm_notify when timeout is zero.
|
||||
* Fix Segfault in elementary file_selector_example when closed
|
||||
* Fix Showing multiple popups in Entry.
|
||||
|
||||
Removals:
|
||||
|
||||
|
|
|
@ -1241,6 +1241,7 @@ _menu_call(Evas_Object *obj)
|
|||
|
||||
ELM_ENTRY_DATA_GET(obj, sd);
|
||||
|
||||
if (sd->anchor_hover.hover) return;
|
||||
if ((sd->api) && (sd->api->obj_longpress))
|
||||
{
|
||||
sd->api->obj_longpress(obj);
|
||||
|
@ -2042,6 +2043,8 @@ _entry_hover_anchor_clicked_do(Evas_Object *obj,
|
|||
|
||||
ELM_ENTRY_DATA_GET(obj, sd);
|
||||
|
||||
if (sd->hoversel) return;
|
||||
|
||||
ei.anchor_info = info;
|
||||
|
||||
sd->anchor_hover.pop = elm_icon_add(obj);
|
||||
|
|
Loading…
Reference in New Issue