e_comp_object: add code to unset clip after finishing effect
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 16 Apr 2024 23:44:46 +0000 (08:44 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 17 Apr 2024 23:32:21 +0000 (08:32 +0900)
There was a bug that the cw->smart_obj's clip was not unset after finishing effect.
At the beginnig of the effect, e called the e_comp_object_effect_clip() function.
However e didn't call the e_comp_object_effect_unclip() when the effect was finished.

FYI, this bug was detected below environment.
1. Enabled screen rotation
2. Applied zoom effect for window
3. Run magnifier service application

Change-Id: Idde9a1fd16ae7d0625ecec71af9b7050cfc617e3

src/bin/e_comp_object.c

index 8a4de83..9d6a3a7 100644 (file)
@@ -4403,6 +4403,8 @@ _e_comp_object_effect_end_cb(void *data, Evas_Object *obj, const char *emission,
 
    edje_object_signal_callback_del_full(obj, "e,action,done", "e", _e_comp_object_effect_end_cb, NULL);
    cw->effect_running = 0;
+   e_comp_object_effect_unclip(cw->smart_obj);
+
    if (!_e_comp_object_animating_end(cw)) return;
 
    if (evas_object_data_get(cw->smart_obj, "effect_running"))