Page MenuHomePhabricator

Enforce canvas hierarchy on Efl.Ui.Factory
Closed, ResolvedPublic


It will start to be messy if the factory do provide object to different window and the user doesn't get why it is not working. Would be best to just enforce that an Efl.Ui.Factory need to have a canvas somewhere as a parent, can not provide object to another canvas and detect when a canvas is invalidated to drop all its own cached object.

cedric created this task.Aug 17 2019, 9:58 AM
cedric triaged this task as High priority.
zmike added a comment.Sep 3 2019, 10:06 AM

This seems like it would make sense? Can't it just check the win provider?

are we have any stuff regarding this?
are we need efl-1.23 tagging still in here?

I think I did implement it and @lauromoura improved the error message.

cedric closed this task as Resolved.Jan 24 2020, 3:51 PM

This is actually done with an efl_provider_find done during the finalize of Efl.Ui.WidgetFactory.