Files
ElyOffice/tasks/reviews/C09.2-r2.md
T

1.1 KiB

FAIL

apps/ely-table/src/sheets.rs:331 — Define Name builds its scope choices from the active workbook while the repaired deferred action retains the originating workbook (TABLE-06). Open workbook A with sheet Origin and workbook B with sheet Destination. In A, queue a move to B2:C3, invoke Define Name, and switch to B before the dialog appears. The dialog correctly retains A's tab and Origin!$B$2:$C$3, but its Scope list offers Workbook and Destination; Origin is absent. Selecting Destination and submitting Area closes the dialog and reports names.define: the undo history did not move, because A has no such sheet. An isolated GPUI/real-worker probe captured scope choices ["Destination"]; the native window reproduced the field, popup choices, and failed submission. The existing queued-definition regression checks the reference text and omits the rendered scope choices. Fix: obtain Define Name's sheet choices from its stored Dialog::Define.tab, and cover a workbook switch during the wait through scope selection and successful definition in the originating sheet.