Page MenuHomePhabricator

elm_popup with scrollable does not focus content after clicking
Open, Incoming QueuePublic

Description

Hi bu5hm4n

thanks for looking at it.

Testcase: your on
or try
https://github.com/jf-simon/counter/ -> open settings (right mouse)

Greetings Simon

jf_simon created this task.Feb 15 2018, 1:11 PM
YOhoho added a subscriber: YOhoho.Feb 18 2018, 6:09 PM

This is better now, however, there are still bugs in regard with enlightenment, focus is moved somewhere else, which is a problem.

Okay, more information, the content is not a efl.ui.widget. but a efl_wl smart class, by default in the past content that has been set so a elm.box that is NOT a efl.ui.widget is not focused automatically, so the efl_wl object is not focused automatically. What you can is, checking when the elm_popup got focus, when it got focus, give the focus to the efl_wl thing, OR make the efl_wl thingy a widget. (That actually doesnt sound too bad, think of embedding elm_config enywhere in a UI)

bu5hm4n added a subscriber: zmike.May 22 2018, 3:15 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:50 AM
bu5hm4n edited projects, added efl: widgets; removed Restricted Project.Jun 11 2018, 7:06 AM
bu5hm4n edited projects, added Restricted Project; removed efl: widgets, Efl.Ui.Focus.Jun 12 2018, 12:05 AM
zmike edited projects, added enlightenment-git; removed Restricted Project.Jun 22 2018, 2:31 PM

Okay, so this requires a callback in the sandbox gadget to propagate focus from the popup to the efl_wl on focus-in?

Yes, this should be enough