[nu-demo] Purple highlight remains after closing apps #154
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/home_lhumina#154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Open, then close with the X in the upper right of the window. The "active" highlight remains in the toolbar.
Fixed in hero_os commit
5a811a3ondevelopment.Reproduction — live on herodemo (1920×1080) via Hero Browser MCP:
background: rgba(139, 92, 246, 0.15)✓island.window-shadowcount drops to 1 (Contexts only)Root cause —
dock.rs:415-435:The popup state IS cleared at
dock.rs:577when an island is clicked from the popup — but the surrounding dock-btn render block doesn't reactively invalidate against that update under Dioxus 0.7's signal model when the parent's per-archipelagoforloop re-runs. The inline-stylebackgroundtherefore sticks atrgba(...)even after the popup is gone.Fix — derive highlight from BOTH signals OR'd together:
archipelago_has_focused_windowwas already being read at this site (under the unused-suppressing_is_activename, only consumed for the small dot indicator below the icon). It's backed by the live window-registry signal, so closing the last window of an archipelago immediately turns it false — the highlight clears cleanly. Both names were updated tois_activesince it's now used in two places.State matrix:
is_popup_openis_activeVerification:
cargo check -p hero_os_app --features webclean. Visual confirmation deferred to next deploy of hero_os to herodemo.Sidebar finding — the parallel verification for home#146 (Photos
<img>not rendering) revealed it's actually a duplicate symptom of home#156: the rendered URLs come out as…/api/files/geomind//Photos/beach_retreat.jpg(note the double slash from leading-slash storage_path), which webdav 403s. Single-slash URL serves 200. Tracking under home#156 instead.Meta-tracker: home#193.
Signed-off-by: mik-tf