edje: Prevent infinite loop for text calculation 77/85177/2
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 24 Aug 2016 05:01:28 +0000 (14:01 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 25 Aug 2016 01:47:14 +0000 (18:47 -0700)
It was added for fixing text ellipsis calculation.
Resizing object was not main purpose of the patch.
It should be revised in upstream.

@tizen_fix

Change-Id: I6aba0dc4aececf0dc7a046af219692bd37ca690d

src/lib/edje/edje_calc.c

index 393689e..e874adb 100644 (file)
@@ -1741,7 +1741,9 @@ _edje_part_recalc_single_text(FLOAT_T sc EINA_UNUSED,
    if ((*maxw > -1) && (mw > *maxw)) mw = *maxw;
    if ((*maxh > -1) && (mh > *maxh)) mh = *maxh;
 
+   /* TIZEN_ONLY(20160824): Prevent infinite loop for text calculation
    evas_object_resize(ep->object, mw, mh);
+    */
 }
 
 #else