this also migrate the stack example, as this is the only user of those
Don't know if it's related, but before this patch when executing the Efl.Ui.Stack elm_test, if I press the Prev button right atfer starting the test, I get a crash with this message:
ERR<104521>:eina_safety ../src/lib/elementary/efl_ui_layout.c:958 _efl_ui_layout_base_efl_layout_signal_signal_emit() safety check failed: efl_invalidated_get(obj) is true
I cannot test this patch because the symbol efl_ui_active_view_active_index_deletion does not exist anymore.
A couple points on the issues raised by @segfaultxavi:
- it's not a crash, the test is intentionally written to close if the prev button is clicked from the first layout
- this looks like a widget/clickable: the problem here is that the window is destroyed from the click callback out of clickable, but widget itself listens directly to evas mouse events (_obj_mouse_up) and then propagates focus from the widget class's mouse-up callback
So in either case it's not an issue with this patch.