[E-devel] EDJE scheme for long text with pictures inserted in different position

2020-12-21 Thread Jing
Hi all, I have a long text content, interspersed with pictures, what good scheme can be implemented in edje, or where there is demo for reference, thank you very much! ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https

Re: [E-devel] ecore_timer_add issue : the timer is triggered before the set time

2020-11-27 Thread Jing
: update_info_bar:1811.77 GUI_DEBUG: OnTimer: update_info_bar:1812.77 GUI_DEBUG: OnTimer: update_info_bar:1813.77 At 2020-11-27 09:48:24, "Jing" wrote: >Hi Carsten, >It is no problem to test this timer's demo separately, but there are > other modules working in my p

Re: [E-devel] ecore_timer_add issue : the timer is triggered before the set time

2020-11-26 Thread Jing
02816... At 2020-11-27 01:27:15, "Carsten Haitzler" wrote: >On Thu, 26 Nov 2020 10:10:29 +0800 (CST) Jing said: > >Timers are working fine as far as i can see. a repeat timer every 0.5 sec and >some other ones to go off at 1.0, 2.0, 3.5, 5.0, 10.0, 20.0, 30.0, and

[E-devel] ecore_timer_add issue : the timer is triggered before the set time

2020-11-25 Thread Jing
Hi all, I use ecore_timer_add to create a 30-second timer, but the callback is triggered before the time is up. For example, the callback is triggered in 20 seconds. Why does this happen? Please help, thanks. ___ enlightenment-devel mailing list enlight

Re: [E-devel] Image display issue when use evas_object_image_file_set()

2019-12-16 Thread Jing
Hi Carsten, For compressed in RAM and scaled down thumbnail, any demo for it ? I will try both methods to fix my issue, many thanks. At 2019-12-13 16:33:47, "Carsten Haitzler" wrote: >On Fri, 13 Dec 2019 15:19:06 +0800 (CST) Jing said: > >> Hi Carsten, Is there a way to

Re: [E-devel] Image display issue when use evas_object_image_file_set()

2019-12-12 Thread Jing
Hi Carsten, Is there a way to compress the original image into a small image to display? Any demo for it ? Thanks. At 2019-10-24 19:03:52, "Carsten Haitzler (The Rasterman)" wrote: >On Thu, 24 Oct 2019 18:58:30 +0800 (CST) Jing said: > >> Hi Vincent, thanks f

Re: [E-devel] Memory free questions when using EFL

2019-12-02 Thread Jing
ome signals already (like "load" "")." At 2019-11-30 00:45:26, "Carsten Haitzler" wrote: >On Fri, 29 Nov 2019 09:10:05 +0800 (CST) Jing said: > >> OK, Carsten, please help to check my code flow, Is there anything wrong? >> Please advise, than

Re: [E-devel] Memory free questions when using EFL

2019-11-28 Thread Jing
OK, Carsten, please help to check my code flow, Is there anything wrong? Please advise, thanks. 在 2019-11-29 05:16:23,"Carsten Haitzler" 写道: >On Thu, 28 Nov 2019 20:14:53 +0800 (CST) Jing said: > >> Thanks Carsten, >> >> >> I did not find edje_ob

Re: [E-devel] Memory free questions when using EFL

2019-11-28 Thread Jing
() //exit: evas_object_hide(obj) evas_object_del(obj) Is there anything wrong? Please advise, thanks. At 2019-11-28 17:21:38, "Carsten Haitzler (The Rasterman)" wrote: >On Thu, 28 Nov 2019 15:43:17 +0800 (CST) Jing said: > >> Thanks Hermet for you reply. >> >> &g

Re: [E-devel] Memory free questions when using EFL

2019-11-27 Thread Jing
x27;t need to care about it. Callbacks neither. > >On Mon, Nov 25, 2019 at 9:12 PM Jing wrote: > >> Hi all, >> I have some memory free questions when using below two functions: >> >> >> 1. EAPI Eina_Bool edje_object_file_set(Evas_Object *obj, const char >

[E-devel] valgrind show error when debug efl demo

2019-11-27 Thread Jing
Hi all, I use valgrind to check memory on efl demo, but valgrind show error as shown below, attached are the efl demo codes, please help to advise where went wrong ? sudo valgrind --tool=memcheck --leak-check=full ./edje-anchors ==37097== Memcheck, a memory error detector ==37097== Copyright (C)

[E-devel] Memory free questions when using EFL

2019-11-25 Thread Jing
Hi all, I have some memory free questions when using below two functions: 1. EAPI Eina_Bool edje_object_file_set(Evas_Object *obj, const char *file, const char *group); --- After this function done, i will call evas_object_del (obj) to delete the obj, anything else that i need to free ? F

Re: [E-devel] ERR<693>:eo lib/eo/eo_base_class.c:1764 ef l_event_callback_call() Eo ID 0x800009ac i s not a valid object

2019-11-25 Thread Jing
=1) > >See where your efl code has it: >~/efl/core/efl/src/lib/eo$ grep -nr "is not a valid object" >eo.c:1875: ERR("Object %p is not a valid object in this context: object >domain: %d, " > >On Mon, Nov 25, 2019 at 4:10 PM Jing wrote: > >&g

[E-devel] ERR<693>:eo lib/eo/eo_base_class.c:1764 ef l_event_callback_call() Eo ID 0x800009ac i s not a valid object

2019-11-24 Thread Jing
Hi all, I met below err in my program, i have no idea which part is wrong , please help to advise, thanks. 05:06:56]Ecore_Con Shutd]own called without ca lling Ecore_Con Init. [05:06:56]' [05:06:56]CRI<3542>:eina_log li[b/ecore_con/ecore_con.c:146 ecore_con_shutdown() unknown log domain -1, o

Re: [E-devel] Memory leak issue when using signal to loading image in EDJE

2019-11-19 Thread Jing
Hi Cedric, I send the signal "START_LOADING" to load the image in my program and use linux "top" command to detect the memory of my program, the memory will keep growing if i am not send "STOP_LOADING". At 2019-11-20 01:46:35, "Cedric Bail" wrote: &g

[E-devel] Memory leak issue when using signal to loading image in EDJE

2019-11-19 Thread Jing
Hi all, Below are my parts definition in EDC file, i find the memory leak issue when use signal "START_LOADING" and "STOP_LOADING" to start and stop the image loading. If there anything wrong ? Please advise, thanks. collections.group { "fresh_group"; parts { image { "fresh";

Re: [E-devel] The image tearing issue when slide the screen

2019-11-04 Thread Jing
application layer i use function ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, keyDownCB, cardstack); The callback function will not be called. Please help to advise how fix this issue, many thanks. At 2019-09-28 01:34:32, "Carsten Haitzler" wrote: >On Fri, 27 Sep 2019 13:42:09 +08

Re: [E-devel] Image display issue when use evas_object_image_file_set()

2019-10-24 Thread Jing
Hi Vincent, thanks for your advise, thanks. Hi Carsten, any advise for the memory consumption issue when display image number/size is large ? Thanks. At 2019-10-23 18:14:45, "Vincent Torri" wrote: >On Wed, Oct 23, 2019 at 12:05 PM Jing wrote: >> >> Hi Carsten,I a

Re: [E-devel] Image display issue when use evas_object_image_file_set()

2019-10-23 Thread Jing
? Besides, it there any way to play mp3 and mp4 file ? Please advise, many thanks. At 2019-10-22 21:31:36, "Carsten Haitzler" wrote: >On Tue, 22 Oct 2019 20:13:51 +0800 (CST) Jing said: > >> Hi Carsten, >> Thanks for your reply. I want to dynamically display differ

Re: [E-devel] Image display issue when use evas_object_image_file_set()

2019-10-22 Thread Jing
Hi Carsten, Thanks for your reply. I want to dynamically display different images in my GUI, the images are read from SD card. How to add this feature ? Please help,thanks. At 2019-10-22 16:45:55, "Carsten Haitzler (The Rasterman)" wrote: >On Tue, 22 Oct 2019 15:03:47 +0800 (CS

[E-devel] Image display issue when use evas_object_image_file_set()

2019-10-22 Thread Jing
Hi all, I define a IMAGE part in my EDC file with a default image. And call evas_object_image_file_set() to display a new image. But when other parts receive a signal or event, this IMAGE part will return to display the default png image, please advise how to fix this issue, many thanks. ___

Re: [E-devel] Character '<' display issue when using edje_object_part_text_set

2019-10-16 Thread Jing
Hi Carsten, So there is no way I can display character '<' in a TEXTBLOCK part ?? Is there any other way I can display character '<' in my UI ? Thanks. At 2019-10-17 01:22:50, "Carsten Haitzler (The Rasterman)" wrote: >On Wed, 16 Oct 2019 18:05

[E-devel] Character '<' display issue when using edje_object_part_text_set

2019-10-16 Thread Jing
Hi all, I failed to display '<' by using edje_object_part_text_set(layout, "part_name", "<") . Text display is empty. Please help to advise how to fix this issue, thanks. ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net ht

Re: [E-devel] The image tearing issue when slide the screen

2019-09-26 Thread Jing
else #endif Looking forward to your reply, thanks. At 2019-09-23 22:13:11, "Carsten Haitzler" wrote: >On Mon, 23 Sep 2019 14:02:09 +0800 (CST) Jing said: > >> Hi Carsten, >> Thanks for your reply. Correction: Actually, we didn't use X11 and only use >>

Re: [E-devel] The image tearing issue when slide the screen

2019-09-22 Thread Jing
--disable-cserve --disable-always-build-examples --with-profile=dev --disable-physics --disable-valgrind --disable-quick-launch Looking forward to your reply, thanks. At 2019-09-21 15:53:12, "Carsten Haitzler" wrote: >On Sat, 21 Sep 2019 13:47:40 +0800 (CST) Jing said: > >

Re: [E-devel] The image tearing issue when slide the screen

2019-09-20 Thread Jing
I use efl-1.21.1(define the image/rect in edc file) to develop in linux environment. Using X11 and framebuffer. Looking forward to your reply, thanks. At 2019-09-20 20:55:53, "Carsten Haitzler (The Rasterman)" wrote: >On Fri, 20 Sep 2019 18:48:14 +0800 (CST) Jing said

[E-devel] Help: Error receive: evas_object_event_callback_del_full() safety check failed: obj == NULL

2019-05-15 Thread Jing
Hi all, Below is my EDC description: //group 1 collections.group { "content"; parts { rect { "bg"; desc { fixed: 1 1; color: COLOR_TRANSPARENT; rel1.relative: 0 0; rel1.offset: 0 0; rel2.relative: 1 1; rel2.offset: 600 0; }

[E-devel] Help: How to get EDC textblock text string width ? Any API?

2019-05-13 Thread Jing
Hi all, Below is my EDC textblock decription: textblock { "testtext"; desc { "default"; rel1.to: "anotherpart"; rel1.offset: 20 15; text.align: 0 0; text.style: "setting/item_tip_text/default"; text.text:"this is a test string, how to get text string width not string length"; } } I want to get t

[E-devel] How to move EDC textblock position ? evas_object_move not working !

2019-05-07 Thread Jing
Hi all, Below is my EDC textblock describtion: textblock { "remove"; desc { "default"; min: 210 50; max: 210 50; anchors.top: GROUP BOTTOM; anchors.left: GROUP LEFT; anchors.margin: 0 0 50 0;

Re: [E-devel] Help: Questions about the usage of edje add elemetary

2019-04-16 Thread Jing
edje_object_add--> edje_object_file_set-> ecore_evas_show--> ecore_main_loop_begin--> ecore_evas_free--> ecore_evas_shutdown--> edje_shutdown At 2019-04-16 18:29:29, "Vincent Torri" wrote: >On Tue, Apr 16, 2019 at 12:22 PM Jing wrote: >> >> Hi all, >>

[E-devel] Help: Questions about the usage of edje add elemetary

2019-04-16 Thread Jing
Hi all, According to the efl examples, the basic process flow of edje usage is: ecore_evas_init --> edje_init--> ecore_evas_new--> ecore_evas_get--> evas_object_rectangle_add--> edje_object_add--> edje_object_file_set-> ecore_evas_show--> ecore_main_loop_begin--> ecore_evas_free--> ecore_evas_

[E-devel] Help: A detailed description of Edje Program signals

2019-04-10 Thread Jing
Hi all, Below are the signals used in animations.edc in efl-1.21.1\src\examples\edje. program { signal: "load"; source: ""; in: 2.0 0.0; after: "animation,state1"; } program { name: "animation,state1"; signal: "animation,start";