Dear All, Hello.

The arrow of ctxpopup is swallowed in one of 4 swallow parts(left,
right, top, bottom) of base group.
If user REuses ctxpopup which is already displayed with different
direction, then the arrow will be swallowed in previous position.
So the attached patch will unswallow arrow from the base before swallow...
Please review the patch and give any feedbacks.


Sincerely,
Shinwoo Kim.
Index: src/lib/elc_ctxpopup.c
===================================================================
--- src/lib/elc_ctxpopup.c	(revision 64044)
+++ src/lib/elc_ctxpopup.c	(working copy)
@@ -507,6 +507,9 @@ _update_arrow(Evas_Object *obj, Elm_Ctxpopup_Direc
    evas_object_geometry_get(wd->base, &base_size.x, &base_size.y,
                             &base_size.w, &base_size.h);
 
+   // unswallow arrow from base
+   edje_object_part_unswallow(wd->base, wd->arrow);
+
    switch (dir)
      {
       case ELM_CTXPOPUP_DIRECTION_RIGHT:
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to