"No internet" warning shouldn't be modal

When using Anki Desktop offline on a Mac, I get the following error:
"Please check your internet connection.

Error details: ⁨error sending request for url (): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known⁩"

This is an annoyingly prominent dialog considering Anki works just fine in offline mode. Being offline should generate a red triangle alert on the main screen or similar “warning, but everything is fine”, rather than a full modal dialog, which requires clicking ‘OK’ when you start, and then getting the same error when you finish, also requiring clicking on ‘OK’.

1 Like

I think that’s because you have automatic syncing enabled. Maybe Anki can only show an alert when the sync is automatically triggered, as you suggest.

Anki used to use a tooltip instead of a dialog. IIRC the change was more an accident of refactoring than a deliberate change, but an argument can be made for the current behaviour as well - it’s easy to miss, and if you study without being aware that a sync failed, you could end up doing the same work twice.

2 Likes