Page MenuHomePhabricator

elm_object_item_focus_set() broken in genlist
Closed, ResolvedPublic


Calling elm_object_item_focus_set(1) on a genlist item do nothing in my case.

I "fixed" it by removing 2 lines in elm_genlist.c (line 6135-6136):

elm_object_focus_set(obj, EINA_TRUE);

// if (!elm_widget_focus_get(obj))
  // return;

if (eo_it != sd->focused_item)

Indeed the same function in the gengrid implementation do not have the same two lines... maybe this is the right fix?

DaveMDS created this task.Nov 27 2017, 10:38 AM
DaveMDS updated the task description. (Show Details)
DaveMDS renamed this task from elm_object_item_focus_set() do nothing to elm_object_item_focus_set() broken in genlist.