jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e97d5973e5fad88c52323a3c3e2f1b957816136e
commit e97d5973e5fad88c52323a3c3e2f1b957816136e Author: Shinwoo Kim <[email protected]> Date: Tue Sep 8 13:41:23 2015 +0900 ecore_evas_extn: Fix server rendering after restart Summary: The server can render, only after the server get the OP_SHOW from the client. However, if the server relaunches while client is running, the server cannot get the OP_SHOW. In this case, the client should send the OP_SHOW, when the server is added. Test Plan: Relaunch a server especially the indicator, while client is running. Reviewers: raster, cedric, Hermet, woohyun, jaehwan, jypark, jpeg Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D3028 Signed-off-by: Jean-Philippe Andre <[email protected]> --- src/modules/ecore_evas/engines/extn/ecore_evas_extn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c index 6dd16ba..c8ef291 100644 --- a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c +++ b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c @@ -920,6 +920,10 @@ _ipc_server_add(void *data, int type EINA_UNUSED, void *event) return ECORE_CALLBACK_PASS_ON; extn = bdata->data; if (!extn) return ECORE_CALLBACK_PASS_ON; + /* If a server relaunches while a client is running, the server cannot get the OP_SHOW. + In this case, the client should send the OP_SHOW, when the server is added. */ + if (ee->visible && extn->ipc.server) + ecore_ipc_server_send(extn->ipc.server, MAJOR, OP_SHOW, 0, 0, 0, NULL, 0); //FIXME: find a way to let app know server there return ECORE_CALLBACK_PASS_ON; } --
