Invalid IMAP server thrown when offline after suspend
Bug summary
Geary has an offline mode built-in but Geary still throws an GDBus.Error:org.gnome.OnlineAccounts.Error.NotAuthorized
after the machine wakes after a suspend and reconnects to wifi.
About you
- Geary version: 3.32.1
- Installation method: Package (fedoraproject.org)
- Your desktop: GNOME 3.32.2
- Your operating system and version: Fedora 30
- Email provider: Gmail & IMAP/SMTP (problem isn't related to the Gmail account)
Steps to reproduce
- Open Geary
- Suspend machine
- Wake machine
- Reconnect to wifi
What is the current bug behavior?
Geary pops up two bars. One for offline mode and one for the IMAP server invalid error (offline mode clears after internet connection is restored).
What is the expected correct behavior?
Geary doesn't try to connect to IMAP server (offline mode) until internet comes back up.
Relevant logs and/or screenshots
Geary version: 3.32.1
GTK version: 3.24.8
Desktop: GNOME
Account id: goa_account_1556842932_0
Account provider: GEARY_SERVICE_PROVIDER_OTHER
Error type: GoaError 4
Message: GDBus.Error:org.gnome.OnlineAccounts.Error.NotAuthorized: Invalid imap-password with username “EMAIL HERE” (goa-error-quark, 0): Error resolving “IMAP SERVER HERE”: Name or service not known
Back trace:
- unknown
- unknown
- unknown
- g_simple_proxy_resolver_set_uri_proxy
- g_task_attach_source
- unknown
- g_simple_proxy_resolver_set_uri_proxy
- g_simple_proxy_resolver_set_uri_proxy
- g_main_context_dispatch
- g_main_context_dispatch
- g_main_context_iteration
- g_application_run
- unknown
- __libc_start_main
- unknown