HomePhabricator

elm_gengrid: fix item_show / bring_in deferred call.

Authored by SanghyeonLee on Sep 18 2018, 5:21 PM.

Description

elm_gengrid: fix item_show / bring_in deferred call.

Summary:
item_show / bring_in will be deferred, if object is not resized properly.
the deferred call of item_show_region() is on the calc_job(),
after calculating proper object, pan size, but still item is not placed,
so target scrolling position is wrong while item_show_region().

move deferred call to group_calculate() to get correct item position,
after item_place() and group_item_place() were processed.

This patch is reported on T7367.

Test Plan: {F3302967}please check attached gengrid_example_01.c

Reviewers: eagleeye, Hermet

Reviewed By: Hermet

Subscribers: cedric, reviewers, committers

Tags: efl

Maniphest Tasks: T7367

Differential Revision: https://phab.enlightenment.org/D7014

Details

Committed
HermetSep 18 2018, 5:21 PM
Reviewer
Hermet
Differential Revision
D7014: elm_gengrid: fix item_show / bring_in deferred call.
Parents
rEFLb5409faf8b2f: eina: Improve explanation of read-only binbuf's
Branches
Unknown
Tags
Unknown