From dd35b1e887f9e2c4d304e11c77fe371adc3d86a3 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 23 Nov 2026 02:42:51 -0500 Subject: [PATCH] fw sync: resting-pointer popup trial names its list (upstream's PopupList::list) Upstream routes an opener's list keys only to the list the popup names (PopupList::list / Overlay::list); the port found the first type-ahead stop in the layer. Upstream's mechanism wins; the trial's fixture names its list, its check stands. --- crates/ui-widgets/tests/it/popover/popup.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/ui-widgets/tests/it/popover/popup.rs b/crates/ui-widgets/tests/it/popover/popup.rs index b64ff92f0..7b069e2f2 100644 --- a/crates/ui-widgets/tests/it/popover/popup.rs +++ b/crates/ui-widgets/tests/it/popover/popup.rs @@ -154,8 +154,10 @@ fn page(open: Rc>, activated: Rc>>) -> Fixture { Button::new(format!("Page {at}")).show(ui); } let mut shown = open.get(); - PopupList::new("Rows", Bind::bound(&mut shown)).opened_by(&opener).show(ui, |ui, _| { - let out = List::::options("Rows").show_items(ui, &Rows, &mut |at, _| ListRow::new(row(*at)).option()); + // The popup names its list, which takes the opener's list keys (`PopupList::list`). + let list = opener.id.with("rows"); + PopupList::new("Rows", Bind::bound(&mut shown)).opened_by(&opener).list(list).show(ui, |ui, _| { + let out = List::::options("Rows").id(list).show_items(ui, &Rows, &mut |at, _| ListRow::new(row(*at)).option()); activated.borrow_mut().extend(out.events.iter().filter_map(|event| match event { CollectionEvent::Activate(at) => Some(*at), _ => None,