hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bb455f3490e3ce76d01a34f27ebc97c0fa812168

commit bb455f3490e3ce76d01a34f27ebc97c0fa812168
Author: Jiyoun Park <[email protected]>
Date:   Wed Nov 21 20:55:32 2018 +0900

    evas_object_image: fix cutout bug related with opaque object
    
    Summary:
      condition:
      1. full size rect
      2. upper side, if there is same size image object and image object 
preload state is EVAS_IMAGE_PRELOADING.
      below rect cannot be rendered because upper image object was added to 
cutout area event though image object is not opaque.
    
      so fix opaque check function return false for opaque state of preloading 
image.
    
    Reviewers: Hermet, raster
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D7318
---
 src/lib/evas/canvas/evas_object_image.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index b9fb345ed9..594aa57e85 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -2720,6 +2720,8 @@ evas_object_image_is_opaque(Evas_Object *eo_obj 
EINA_UNUSED,
     o->cur.opaque_valid = 0;*/
    Evas_Image_Data *o = type_private_data;
 
+   if (o->preload == EVAS_IMAGE_PRELOADING) return 0;
+
    if (o->cur->opaque_valid)
      {
         if (!o->cur->opaque) return 0;

-- 


Reply via email to