Skip to content

Keep the update window from stealing focus when an update is found in the background - #1396

Merged
manuelmayer-dev merged 1 commit into
mainfrom
fix/update-window-focus-steal-1379
Oct 16, 2026
Merged

manuelmayer-dev merged 1 commit into
mainfrom
fix/update-window-focus-steal-1379

Conversation

@manuelmayer-dev

Copy link
Copy Markdown
Member

Closes #1379

Summary

An update found by a background check now opens the update window without taking focus, and on Windows it waits while a fullscreen game, app or presentation is running. The Update to tray entry still brings the window to the front.

Testing

cargo fmt, clippy and cargo test pass, with new tests for the deferred offer. On Windows, a debug bootstrapper with a temporary offer trigger kept the foreground window unchanged and the update window still opened. Not tested with a real fullscreen game, on macOS or on Linux.

Notes

The host error window and the native update dialog fallback also take focus on their own; they were left as they are.

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added bug Something isn't working area:bootstrapper Tauri bootstrapper and native window area:docs The published developer documentation site labels Oct 16, 2026
@manuelmayer-dev
manuelmayer-dev merged commit 70c9828 into main Oct 16, 2026
17 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the fix/update-window-focus-steal-1379 branch October 16, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bootstrapper Tauri bootstrapper and native window area:docs The published developer documentation site bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Update window steals focus from fullscreen games when an update is found in the background

1 participant