Sync: keep windows open

AnkiWeb addon 937448353

Keeps windows open during normal sync by avoiding closing the collection, but is in beta/alpha and may cause unexpected bugs.
AI-generated summary; may contain mistakes.

bugfix-workaroundobsoletebeta

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
3 (πŸ‘ 3 Β· πŸ‘Ž 0)
Updated
2020-05-01
Anki versions
<=2.1.1
Description language
en

Maintenance

abandoned

  • Last update or commit was 2251 days before the snapshot (2020-08-02).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.242.1.272020-05-01
2.1.1–2020-04-22
History across monthly snapshots

Loading…

Similar addons

Anki Windows Hidden Tray (Yomitan support)

Keeps Anki running in the system tray, hiding the window on minimize or close so AnkiConnect integrations keep receiving cards and media; click to restore, right-click to exit.

sync-integrationbeta

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 Anki 26.09.2~ Updated 2026-09-18
Auto Sync

Automatically syncs your collection with AnkiWeb at configurable intervals on PyQt6 Anki, avoiding interruptions during reviews, open dialogs, or focused main windows.

sync-integration

Rating 27 πŸ‘ 24 Β· πŸ‘Ž 3 ⭐ 7 Anki 23.10.1~ Updated 2023-11-20
Background Auto Sync

Silently syncs your Anki collection in the background after inactivity or changes, avoiding focus interruptions, with configurable delays, idle syncing, conflict handling, and session logs.

sync-integrationfork-or-reupload

Rating 7 πŸ‘ 5 Β· πŸ‘Ž 2 ⭐ 3 Anki 2.1.1~ Updated 2026-09-25

README

Keep window open during sync

Rationale

It's nice to avoid the window closed. It can be avoided, unless for full sync. Unless I overlooked something, which might well be the case.

Warning

It's in Alpha. If I overlooked anything, please let me know so that I may correct it.

Technical

The problem with keeping windows open in Anki is that a lot of windows have directly saved the collection instead of accessing it through the main window.

Before and after sync, anki close and open the collection. This means that all of those windows have a pointer to a closed collection. Closing those windows is an easy solution to avoid this problem. That would require to rewrite a big part of anki (but it would be easy to do) and probably a bunch of add-ons.

Avoiding to close the collection is another solution. It may be less safe if I overlooked a problem somewhere, but still worth a try.

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU GPL, version 3 or later; http://www.gnu.org/licenses/gpl.html
Source in https://github.com/Arthur-Milchior/anki-window-open-on-sync
Addon number 937448353