Geary does not work when D-BUS activated
With the current mainline branch installed into system, geary does not work when started from the gnome-shell overview. It works when started from the terminal or using Alt-F2 -> geary. One blue error bar is produced for every account. The details are very similar for all of them. E.g for Gmail account one gets:
Account id: goa_account_1547553302_0
Account provider: GEARY_SERVICE_PROVIDER_GMAIL
Error type: GearyEngineError 1
Message: IMAP database already open
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_task_attach_source
- unknown
- g_simple_proxy_resolver_set_uri_proxy
- g_simple_proxy_resolver_set_uri_proxy
- g_list_sort_with_data
- g_main_context_dispatch
- g_main_context_dispatch
- g_main_context_iteration
- g_application_run
- unknown
- __libc_start_main
- unknown
It has probably something to do with D-Bus activation. E.g., when I start geary from terminal with geary --gapplication-service
and then start geary from the gnome-shell overview, then everything is OK.
It used to work correctly around commit 58f65267