From: SangHyeon Jade Lee Date: Thu, 22 Oct 2020 05:53:55 +0000 (+0900) Subject: fix gengrid group index unrealized issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_4.0;p=platform%2Fupstream%2Felementary.git fix gengrid group index unrealized issue gengrid group index need to be unrealized when item is not in the viewport unlike upstream realized till their group is one the view. Change-Id: I8ddc3ed5fa673ec93c5d78ff4dc671e4465215de --- diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 454709fda..2138e5e1d 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -2171,13 +2171,22 @@ _item_place(Elm_Gen_Item *it, } else { + //TIZEN_ONLY(20201022): Group on Top Feature is not tizen UI. + /* if (!it->group) _elm_gengrid_item_unrealize(it, EINA_FALSE); else item->group_realized = EINA_FALSE; + */ + _elm_gengrid_item_unrealize(it, EINA_FALSE); + if (it->group) + item->group_realized = EINA_FALSE; + // } } +//TIZEN_ONLY(20201022): Group on Top Feature is not tizen UI. +/* static void _group_item_place(Elm_Gengrid_Pan_Data *psd) { @@ -2210,13 +2219,10 @@ _group_item_place(Elm_Gengrid_Pan_Data *psd) eo_do(WIDGET(it), eo_event_callback_call (ELM_GENGRID_EVENT_REALIZED, EO_OBJ(it))); } - //TIZEN_ONLY(20170131): Group on Top Feature is not tizen UI. - /* + evas_object_move (VIEW(it), GG_IT(it)->gx, GG_IT(it)->gy); - */ - // evas_object_resize(VIEW(it), iw, ih); evas_object_raise(VIEW(it)); } @@ -2224,6 +2230,8 @@ _group_item_place(Elm_Gengrid_Pan_Data *psd) _elm_gengrid_item_unrealize(it, EINA_FALSE); } } +*/ +// EOLIAN static void _elm_gengrid_pan_evas_object_smart_calculate(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd) @@ -2294,7 +2302,9 @@ _elm_gengrid_pan_evas_object_smart_calculate(Eo *obj EINA_UNUSED, Elm_Gengrid_Pa } } } - _group_item_place(psd); +//TIZEN_ONLY(20201022): Group on Top Feature is not tizen UI. +// _group_item_place(psd); +// if ((sd->reorder_mode) && (sd->reorder_it)) {