e_comp_object: add code to send launch_real,done event if the window doesn't use... 40/124140/1 accepted/tizen/3.0/common/20170411.083525 accepted/tizen/3.0/ivi/20170411.005248 accepted/tizen/3.0/mobile/20170411.005124 accepted/tizen/3.0/tv/20170411.005200 accepted/tizen/3.0/wearable/20170411.005225 accepted/tizen/unified/20170410.160320 submit/tizen/20170410.100110 submit/tizen_3.0/20170410.095750
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 10 Apr 2017 09:39:38 +0000 (18:39 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 10 Apr 2017 09:39:42 +0000 (18:39 +0900)
There was a bug that "e,action,launch_real,done" event is not published if the window doesn't use effect.
So, we added code to send the event when the window which doesn't use effect is launched.

Change-Id: I57924234dbb7a83574a10dccb570ab579248f5c5

src/bin/e_comp_object.c

index d98ff20d1341e2e227dfe46f0c80fe9843d8dc2d..e5927fb1ef1637f550f7764687a181f4b5ff6317 100644 (file)
@@ -954,6 +954,12 @@ _e_comp_object_animating_end(E_Comp_Object *cw)
                        if (!cw->ec->extra_animating)
                          {
                             cw->ec->launching = EINA_FALSE;
+                            if (cw->ec->first_mapped)
+                              {
+                                 ELOGF("LAUNCH", "SHOW real win", cw->ec->pixmap, cw->ec);
+                                 e_comp_object_signal_emit(cw->ec->frame, "e,action,launch_real,done", "e");
+                              }
+
                             e_comp_object_signal_emit(cw->ec->frame, "e,action,launch,done", "e");
                          }
                     }