This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit db3c3f6af15bafd3a980026393628a4e770d725f
Author: Cedric BAIL <[email protected]>
AuthorDate: Fri Nov 13 23:03:33 2026 -0600
elementary: View_Model forwards child events again after a failed lookup
_efl_ui_view_model_child_added and _child_removed set their propagating
flag to guard against re-entry, then returned early when the View_Model
child could not be made, leaving the flag set. Every later child,added
or child,removed of that View_Model was then ignored. The early return
now clears the flag first.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/lib/elementary/efl_ui_view_model.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/lib/elementary/efl_ui_view_model.c b/src/lib/elementary/efl_ui_view_model.c
index 54d1db1ec5..97ec0b5c4b 100644
--- a/src/lib/elementary/efl_ui_view_model.c
+++ b/src/lib/elementary/efl_ui_view_model.c
@@ -584,7 +584,11 @@ _efl_ui_view_model_child_added(void *data, const Efl_Event *event)
efl_event_callback_stop(event->object);
co = _efl_ui_view_model_child_lookup(pd, event->object, ev->child);
- if (!co) return;
+ if (!co)
+ {
+ pd->propagating.child_added = EINA_FALSE;
+ return;
+ }
nevt.index = ev->index;
nevt.child = co;
@@ -613,7 +617,11 @@ _efl_ui_view_model_child_removed(void *data, const Efl_Event *event)
efl_event_callback_stop(event->object);
co = _efl_ui_view_model_child_lookup(pd, event->object, ev->child);
- if (!co) return;
+ if (!co)
+ {
+ pd->propagating.child_removed = EINA_FALSE;
+ return;
+ }
nevt.index = ev->index;
nevt.child = co;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.