Go to file
Youngbok Shin ebbc66a25c gengrid: Prevent duplicated selected function calls when item is unselected in the function.
Summary:
If item is unselected in a selected function,
selected function will be called once more from _elm_gengrid_elm_widget_on_focus.
It is happened when elm_gengrid object has no focus and one of item is selected by mouse up event.
To fix this issue, we need to set focus to item and keep the address of selected item before calling selected function.
@fix

Test Plan:
1. Install & Run efbb (Escape From Booty Bay: https://git.enlightenment.org/games/efbb.git/)
2. Select a level in the main menu. (It is using elm_gengrid).
3. See duplicated target images.

Reviewers: cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D3323
2015-11-18 19:39:13 +09:00
legacy/elementary gengrid: Prevent duplicated selected function calls when item is unselected in the function. 2015-11-18 19:39:13 +09:00