On 10/27/2013 02:51 PM, Carsten Haitzler (The Rasterman) wrote: > On Sun, 27 Oct 2013 13:45:13 +0200 "daniel.za...@samsung.com" > <daniel.za...@samsung.com> said: > >> I think I found the issue. In my test, I have two buttons. The first one >> is a drop target and works well. The second one is not a drop target and >> dropping on it is supposed to drop into the box. Now, the button is >> disabled and it seems that evas_tree_objects_at_xy_get doesn't return >> one of its children into the list. If I remove the disable setting, it >> works well, i.e one of the children button is into the list and we walk >> back to a drop target parent, i.e to the box. >> >> To summarize, the DnD overlapping does not work well anymore with >> disabled buttons. > should it? it's disabled... :) I would have said yes :) Well, the disabling feature is on the widget level, not Evas. > >> On 10/27/2013 12:24 PM, Carsten Haitzler (The Rasterman) wrote: >>> On Sun, 27 Oct 2013 11:56:42 +0200 "daniel.za...@samsung.com" >>> <daniel.za...@samsung.com> said: >>> >>>> Yo Master, >>>> >>>> Just to inform you that this commit broke my DnD overlapping test. It is >>>> supposed to support dropping into boxes but now, box is no more found as >>>> a target. I suppose it is related to the repeat_events. >>>> I will try to give you more inputs later. >>> ummm this would only affect boxes... if the button is a child of the box and >>> you are dropping on the button in the box... and it should still work... it >>> should find the rectangle event obj in the button edj and find that - you >>> walk pack parent by parent (back to button then back to the box obj)... if >>> the button had the drop target set then it would get t.. if not it'd fall >>> back to the parent box... >>> >>>> Your JackZ. >>>> >>>> On 10/25/2013 04:01 PM, Carsten Haitzler (Rasterman) wrote: >>>>> raster pushed a commit to branch master. >>>>> >>>>> http://git.enlightenment.org/core/elementary.git/commit/?id=d37c10987e70a8cf37245f55de9064e0f03afe56 >>>>> >>>>> commit d37c10987e70a8cf37245f55de9064e0f03afe56 >>>>> Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> >>>>> Date: Fri Oct 25 22:15:44 2013 +0900 >>>>> >>>>> elm button theme - ensure only event part gets events >>>>> --- >>>>> data/themes/edc/elm/button.edc | 6 +++--- >>>>> 1 file changed, 3 insertions(+), 3 deletions(-) >>>>> >>>>> diff --git a/data/themes/edc/elm/button.edc >>>>> b/data/themes/edc/elm/button.edc index 6ec4056..f3852b7 100644 >>>>> --- a/data/themes/edc/elm/button.edc >>>>> +++ b/data/themes/edc/elm/button.edc >>>>> @@ -64,7 +64,7 @@ group { name: "elm/button/base/default"; >>>>> } >>>>> } >>>>> parts { >>>>> - part { name: "base"; >>>>> + part { name: "base"; mouse_events: 0; >>>>> description { state: "default" 0.0; >>>>> image.normal: "button_normal.png"; >>>>> image.border: 4 4 3 5; >>>>> @@ -733,7 +733,7 @@ group { name: >>>>> "elm/button/base/media_player/prev/default"; visible: 1; >>>>> } >>>>> } >>>>> - part { name: "elm.swallow.content"; type: SWALLOW; >>>>> + part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0; >>>>> description { state: "default" 0.0; >>>>> rel1.offset: 3 1; >>>>> rel2.offset: -4 -2; >>>>> @@ -1134,7 +1134,7 @@ group { name: >>>>> "elm/button/base/hoversel_vertical_entry/default"; visible: 1; >>>>> } >>>>> } >>>>> - part { name: "shine"; repeat_events: 1; >>>>> + part { name: "shine"; mouse_events: 0; >>>>> insert_before: "event"; >>>>> description { state: "default" 0.0; >>>>> fixed: 1 1; >>>>> >
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel