forked from enlightenment/efl
ctxpopup - block mouse events when ctxpopup is on dismiss.
This commit is contained in:
parent
ee51f840ad
commit
36ad1cc0e8
|
@ -1443,3 +1443,7 @@
|
||||||
|
|
||||||
* Move cursor when mouse moves with longpress.
|
* Move cursor when mouse moves with longpress.
|
||||||
* Show magnifier when selection handlers are pressed or moved.
|
* Show magnifier when selection handlers are pressed or moved.
|
||||||
|
|
||||||
|
2013-06-22 ChunEon Park (Hermet)
|
||||||
|
|
||||||
|
* Block mouse events when the ctxpopup on dismiss.
|
||||||
|
|
|
@ -249,6 +249,7 @@ Fixes:
|
||||||
* Keep the smart members of the naviframe views whenever resize object is changed. This prevents the dangling view objects of the naviframe and keep the layer consistency.
|
* Keep the smart members of the naviframe views whenever resize object is changed. This prevents the dangling view objects of the naviframe and keep the layer consistency.
|
||||||
* In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce.
|
* In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce.
|
||||||
* Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page.
|
* Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page.
|
||||||
|
* Block mouse events when the ctxpopup on dismiss.
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -232,6 +232,17 @@ group { name: "elm/ctxpopup/base/default";
|
||||||
rel2 { to:"base"; offset: -5 -5; }
|
rel2 { to:"base"; offset: -5 -5; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
part { name: "event_blocker";
|
||||||
|
type: RECT;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
color: 0 0 0 0;
|
||||||
|
visible: 1;
|
||||||
|
}
|
||||||
|
description { state: "visible" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
visible: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
part { name: "ctxpopup_clip";
|
part { name: "ctxpopup_clip";
|
||||||
type: RECT;
|
type: RECT;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
|
@ -291,8 +302,14 @@ group { name: "elm/ctxpopup/base/default";
|
||||||
signal: "elm,state,show";
|
signal: "elm,state,show";
|
||||||
source: "elm";
|
source: "elm";
|
||||||
action: STATE_SET "visible" 0.0;
|
action: STATE_SET "visible" 0.0;
|
||||||
transition: LINEAR 0.25;
|
|
||||||
target: "ctxpopup_clip";
|
target: "ctxpopup_clip";
|
||||||
|
target: "event_blocker";
|
||||||
|
}
|
||||||
|
program { name: "hide";
|
||||||
|
signal: "elm,state,hide";
|
||||||
|
source: "elm";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
target: "event_blocker";
|
||||||
}
|
}
|
||||||
program { name: "show_up";
|
program { name: "show_up";
|
||||||
signal: "elm,state,show,up";
|
signal: "elm,state,show,up";
|
||||||
|
|
|
@ -259,7 +259,6 @@ _base_geometry_calc(Evas_Object *obj,
|
||||||
|
|
||||||
if ((max_size.x > 0) && (base_size.x > max_size.x))
|
if ((max_size.x > 0) && (base_size.x > max_size.x))
|
||||||
base_size.x = max_size.x;
|
base_size.x = max_size.x;
|
||||||
|
|
||||||
//Limit to Min Size
|
//Limit to Min Size
|
||||||
evas_object_size_hint_min_get(obj, &min_size.x, &min_size.y);
|
evas_object_size_hint_min_get(obj, &min_size.x, &min_size.y);
|
||||||
|
|
||||||
|
@ -583,8 +582,8 @@ _hide_signals_emit(Evas_Object *obj,
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
edje_object_signal_emit(sd->bg, "elm,state,hide", "elm");
|
edje_object_signal_emit(sd->bg, "elm,state,hide", "elm");
|
||||||
|
elm_layout_signal_emit(obj, "elm,state,hide", "elm");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue