e_mod_effect: do not set e_comp_object's hiding flag in restack,hide effect 49/259149/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 1 Jun 2021 12:30:33 +0000 (21:30 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 1 Jun 2021 13:02:48 +0000 (22:02 +0900)
There was a bug that the window didn't disappeared after restack hiding effect.
For example, the keyboard window was not hidden below case.
1. Start to run a restack,hide effect of keyboard by changing stack
2. Under running effect, hide keyboard window
In this case, hide operation was skipped by intercept_hide function in e_comp_object.
So, the keyboard window could not disappeared.

We fixed this problem.

Change-Id: Ibf70233bf5b22be2b8c608342e85d9290abaa533

src/e_mod_effect.c

index 8bc0df7..2db2795 100644 (file)
@@ -1333,7 +1333,7 @@ _eff_cb_restack_hide_done(void *data, Evas_Object *obj, const char *sig, const c
                   e_comp_object_signal_emit(ec->frame,
                                             "e,action,restack,finish",
                                             "e");
-                  e_comp_object_effect_hiding_set(ec->frame, 0);
+                  //e_comp_object_effect_hiding_set(ec->frame, 0);
                }
           }
      }
@@ -1530,7 +1530,7 @@ _eff_cb_restack(void *data, Evas_Object *obj, const char *signal)
         _eff_event_send(ec, EINA_TRUE, E_EFFECT_TYPE_RESTACK_HIDE);
         if (e_comp_object_effect_start(ec->frame, _eff_cb_restack_hide_done, ec))
           {
-             e_comp_object_effect_hiding_set(ec->frame, 1);
+             //e_comp_object_effect_hiding_set(ec->frame, 1);
           }
 
         _eff_object_background_setup(ec, ec_home, group, E_EFFECT_TYPE_RESTACK_HIDE);