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
When editing detection zones, snapshots initially load, but are replaced with a plain grid after 10 seconds #622
When editing zones for a stream, initially the snapshot image will initially load correctly. It then disappears within 10 seconds and is replaced with a grid and the notice "Snapshot unavailable - drawing on grid background".
Root Cause
The setTimeout() closure at ZoneEditor.jsx:95 captures imageLoaded when the closure is created. When setImageLoaded() is called, a new render is made, but the closure is not replaced. imageLoaded evaluates to false and the snapshot gets removed.
Possible Fixes
Cancel the timeout (clearTimeout()) when the image successfully loads
Fixed on main in f11b56f: the zone editor now cancels the 10-second fallback timer when the snapshot loads or fails, so a successful snapshot is not replaced by the grid. The production web build passes. I am leaving this open until it is available in a release and you can confirm it with your camera.
Activity
matteius commentedon Oct 4, 2026
Fixed on main in f11b56f: the zone editor now cancels the 10-second fallback timer when the snapshot loads or fails, so a successful snapshot is not replaced by the grid. The production web build passes. I am leaving this open until it is available in a release and you can confirm it with your camera.
irichter commentedon Oct 9, 2026
The fix works for me on 0.42.10.