Skip to content

Release the update dialog after external download handoff - #404

Merged
elripalda merged 5 commits into
elripalda:mainfrom
thehobbit85:codex/fix-update-window-fallback
Nov 25, 2026
Merged

elripalda merged 5 commits into
elripalda:mainfrom
thehobbit85:codex/fix-update-window-fallback

Conversation

@thehobbit85

Copy link
Copy Markdown
Contributor

When Update Now hands off to an external download, the command succeeds without progress events or a launcher restart. This happens for non-AppImage Linux installs and Mac locations that cannot be updated in place. The desktop update dialog kept its busy state forever at 0%, blocking Later, Escape and its other controls.

Reset the dialog when the update command finishes, whether it succeeds or fails. It remains busy while the command is pending, and the existing error reporting stays in place.

Four behavioral tests execute the production update and dialog-state functions with synthetic IPC responses: both successful handoff cases fail before the fix, and all four pass afterward. Full UI suite: 665 passed / 11 platform skips. Full Rust suite: 954 passed / 1 ignored. git diff --check is clean. No browser or actual updater was launched during testing.

Related to #102 and #193: this fixes the fallback dialog, while preserving the existing platform-specific update policy.

@Xarishark Xarishark self-assigned this Nov 25, 2026

@Xarishark Xarishark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All notes resolved and CI passed. Approving.

@elripalda
elripalda merged commit f62760e into elripalda:main Nov 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants