Re-entered TUI workflows stop polling #17

Open
opened 2026-08-22 20:31:56 +00:00 by faceguy · 0 comments
Owner

Sort and duplicate screens monitor background operations using recurring tick commands. App.Update() initializes each screen only once.

After leaving a workflow for the menu, its outstanding tick can be delivered to the menu and discarded. Returning to the already-initialized workflow does not restart the ticker, so progress and operation results are no longer synchronized and the screen can appear stuck indefinitely.

A model-level replay confirmed that the menu discards the outstanding tickMsg and re-entering the initialized sort screen returns no replacement tick command.

Sort and duplicate screens monitor background operations using recurring tick commands. `App.Update()` initializes each screen only once. After leaving a workflow for the menu, its outstanding tick can be delivered to the menu and discarded. Returning to the already-initialized workflow does not restart the ticker, so progress and operation results are no longer synchronized and the screen can appear stuck indefinitely. A model-level replay confirmed that the menu discards the outstanding `tickMsg` and re-entering the initialized sort screen returns no replacement tick command.
faceguy self-assigned this 2026-08-22 20:32:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
faceguy/my-spotify-playlist-sorter-go#17
No description provided.