You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DevTools: after a hot-reload reorder, the inspector keeps stale names and the selection silently moves to another element #1355
Found while testing #1197 (Reactor support in DevTools) with a small app that mixes XAML and Reactor, under winapp run . --watch --devtools on. This isn't blocking that PR; filing it so we track it once it lands.
What happens
Select a Reactor button (for example +5) in the inspector.
In code, swap the order of two buttons in the component (+5 and Reset) and save. Hot Reload applies it.
Reactor keeps both controls and swaps their content. winapp devtools inspect shows the new order correctly, but the inspector window still labels the +5 row #resetButton, and the header says Button #resetButton next to the +5 source line. It stays wrong after clicking, waiting, or reopening the inspector.
The selection stays on the same WinUI control, which is now the other button, so the details pane quietly shows a different element's data.
Expected
Labels refresh when names change, and the selection follows the component (component + key + call site), not the reused control. React DevTools keeps a selection on the same component across re-renders.
Likely cause (from reading the code, not verified)
The inspector rebuilds labels only when the set of elements changes (changed in DevToolsTap.Reactor.inc around line 1036). A reorder that reuses the same controls doesn't count.
Activity