2011/1/17 Nicolas Aguirre <[email protected]>:
> 2011/1/17 Mike Blumenkrantz <[email protected]>:
>> On Mon, 17 Jan 2011 04:03:50 -0500
>> Mike Blumenkrantz <[email protected]> wrote:
>>
>>> On Fri, 14 Jan 2011 10:11:11 +0100
>>> Nicolas Aguirre <[email protected]> wrote:
>>>
>>> > 2011/1/14 Carsten Haitzler <[email protected]>:
>>> > > OK. time for an update on this.
>>> > >
>>> > > what comes under "EFL":
>>> > > eina 1.0
>>> > > eet 1.4
>>> > > evas 1.0
>>> > > ecore 1.0
>>> > > embryo 1.0
>>> > > edje 1.0
>>> > > e_dbus 1.0
>>> > > efreet 1.0
>>> > > eeze 1.0
>>> > >
>>> > > EFL's last go at getting ready for release was beta3. we have since
>>> > > fixed
>>> > > bugs and api issues and what not that we found. as such the todo list
>>> > > for
>>> > > efl 1.0 as best i can see is empty. tickets are either enhancements for
>>> > > 1.1 times or unable to be worked on now (malformed utf8 robustness i'd
>>> > > say is not a bug per-se more just being more robust when apps provide
>>> > > invalid input). massive multi-gigabyte images to be loaded off disk are
>>> > > a
>>> > > "so out there" case that i'd worry about that some other day when we
>>> > > have
>>> > > the data to examine. sure out documentation could be more complete and
>>> > > better. but isn't that always the case? :)
>>> > >
>>> > > so i'd say EFL is ready to go out. what i want to know is this:
>>> > >
>>> > > ... are there any issues someone wants to bring up with EFL release?
>>> > >
>>> > > please speak up now.. or forever hold your peace! :)
>>> > >
>>> > > --
>>> > > ------------- Codito, ergo sum - "I code, therefore I am" --------------
>>> > > The Rasterman (Carsten Haitzler) [email protected]
>>> > >
>>> > >
>>> > > ------------------------------------------------------------------------------
>>> > > Protect Your Site and Customers from Malware Attacks
>>> > > Learn about various malware tactics and how to avoid them. Understand
>>> > > malware threats, the impact they can have on your business, and how you
>>> > > can protect your company and customers by using code signing.
>>> > > http://p.sf.net/sfu/oracle-sfdevnl
>>> > > _______________________________________________
>>> > > enlightenment-devel mailing list
>>> > > [email protected]
>>> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>> > >
>>> >
>>> > There is a bug in Enna, wich is IMO relative to an Evas Map bug or an
>>> > elementary bug
>>> > I can't reproduce the bug in elementary_test and I don't have the time
>>> > to give you a minimal test case, sorry :(
>>> >
>>> > What I do is simple :
>>> >
>>> > elm_layout -> elm_pager with flip style -> push 2 elm_layout in pager
>>> > When I don't do anything on the interface, enna is taking 100% CPU,
>>> > and if I change in code the elm_pager to use the default style,
>>> > everything is ok, 0%CPU.
>>> > When I run into gdb, I see that evas is continuesly rendering the screen.
>>> >
>>> > What could i give you guys to see if we can fix this bug ?
>>> >
>>> >
>>> >
>>> Is this code in enna currently? If not, which revision was it in?
>>> I have tried compiling enna to test, but it appears that enna is currently
>>> broken in trunk (hundreds of errors from mediaplayer.c).
>>>
>>> Please advise quickly, as we are looking to finalize a release within the
>>> next
>>> week :)
>>>
>> Just as a followup so that it will be in raster's mailbox, current HEAD of
>> enna
>> displays this bug. Just do 'enna -t stb'.
>>
>> --
>> Mike Blumenkrantz
>> Zentific: NULL pointer dereferences now 50% off!
>>
>
> And go in Music activity -> browse local devices => bug happens
>
> --
> Nicolas Aguirre
> Mail: [email protected]
> Web: http://www.digital-corner.org
>
I reproduce the bug with elementary_test and the patch attached.
To reproduce the bug :
Clic on Flip to 1,
Select Flip style
Clic Pop Me
Regards,
--
Nicolas Aguirre
Mail: [email protected]
Web: http://www.digital-corner.org
Index: src/bin/test_pager.c
===================================================================
--- src/bin/test_pager.c (revision 56106)
+++ src/bin/test_pager.c (working copy)
@@ -7,7 +7,7 @@
struct _Pginfo
{
- Evas_Object *win, *pager, *pg1, *pg2, *pg3;
+ Evas_Object *win, *pager, *pg1, *pg2, *pg3, *pg4;
};
static void
@@ -28,9 +28,18 @@
my_pager_3(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Pginfo *info = data;
+ elm_pager_content_promote(info->pager, info->pg4);
+}
+
+
+static void
+my_pager_4(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+{
+ Pginfo *info = data;
elm_pager_content_promote(info->pager, info->pg1);
}
+
static void
my_pager_pop(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
@@ -104,7 +113,6 @@
elm_box_pack_end(bx, lb);
evas_object_show(lb);
-
unsigned int i = 0;
Evas_Object *rdg = NULL, *rd;
for (i = 0; i < (sizeof(styles) / sizeof(struct style_tuple)); i++)
@@ -191,6 +199,44 @@
elm_pager_content_push(pg, bx);
info.pg3 = bx;
+ Evas_Object *ly, *ly2;
+ char buf[4096];
+
+ ly = elm_layout_add(win);
+ snprintf(buf, sizeof(buf), "%s/objects/test.edj", PACKAGE_DATA_DIR);
+ elm_layout_file_set(ly, buf, "test/layout");
+ evas_object_size_hint_weight_set(ly, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_show(ly);
+
+ ly2 = elm_layout_add(win);
+ snprintf(buf, sizeof(buf), "%s/objects/test.edj", PACKAGE_DATA_DIR);
+ elm_layout_file_set(ly2, buf, "layout");
+ evas_object_size_hint_weight_set(ly2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ //elm_win_resize_object_add(win, ly2);
+ evas_object_show(ly2);
+
+
+
+
+ bt = elm_button_add(win);
+ elm_button_label_set(bt, "Flip to 1");
+ evas_object_smart_callback_add(bt, "clicked", my_pager_4, &info);
+ elm_layout_content_set(ly2, "element1", bt);
+ evas_object_show(bt);
+
+ bt = elm_button_add(win);
+ elm_button_label_set(bt, "Popme");
+ evas_object_smart_callback_add(bt, "clicked", my_pager_pop, &info);
+ evas_object_show(bt);
+ elm_layout_content_set(ly2, "element2", bt);
+
+ elm_layout_content_set(ly, "swallow", ly2);
+ evas_object_show(ly);
+
+ elm_pager_content_push(pg, ly);
+ info.pg4 = ly2;
+
+
evas_object_show(win);
}
Index: data/objects/test.edc
===================================================================
--- data/objects/test.edc (revision 56106)
+++ data/objects/test.edc (working copy)
@@ -528,5 +528,30 @@
}
}
}
+group {
+ name: "test/layout";
+ images {
+ image: "sky.jpg" LOSSY 80;
+ }
+ parts {
+ part {
+ name: "bg";
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 100;
+ image.normal: "sky.jpg";
+ }
+ }
+ part {
+ name: "swallow";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1.offset: 8 8;
+ rel2.offset: -7 -7;
+ }
+ }
+ }
}
-
+}
+
\ No newline at end of file
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel