ctxpopup - block mouse events when ctxpopup is on dismiss.

This commit is contained in:
ChunEon Park 2013-06-22 15:21:00 +09:00
parent ee51f840ad
commit 36ad1cc0e8
4 changed files with 24 additions and 3 deletions

View File

@ -1443,3 +1443,7 @@
* Move cursor when mouse moves with longpress.
* Show magnifier when selection handlers are pressed or moved.
2013-06-22 ChunEon Park (Hermet)
* Block mouse events when the ctxpopup on dismiss.

View File

@ -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.
* 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.
* Block mouse events when the ctxpopup on dismiss.
Removals:

View File

@ -232,6 +232,17 @@ group { name: "elm/ctxpopup/base/default";
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";
type: RECT;
description { state: "default" 0.0;
@ -291,8 +302,14 @@ group { name: "elm/ctxpopup/base/default";
signal: "elm,state,show";
source: "elm";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.25;
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";
signal: "elm,state,show,up";

View File

@ -259,7 +259,6 @@ _base_geometry_calc(Evas_Object *obj,
if ((max_size.x > 0) && (base_size.x > max_size.x))
base_size.x = max_size.x;
//Limit to Min Size
evas_object_size_hint_min_get(obj, &min_size.x, &min_size.y);
@ -583,8 +582,8 @@ _hide_signals_emit(Evas_Object *obj,
default:
break;
}
edje_object_signal_emit(sd->bg, "elm,state,hide", "elm");
elm_layout_signal_emit(obj, "elm,state,hide", "elm");
}
static void