After switching VPN, archiving is broken
Bug Summary
After switching VPN, archiving results in the conversation instantly reappearing in the inbox as unread.
Your installation
Geary version: 3.37.90
Geary revision: pipelines/207414-0-g95da7bb7-dirty
GTK version: 3.24.22
GLib version: 2.65.2
WebKitGTK version: 2.29.91
Desktop environment: GNOME
Distribution name: GNOME
Distribution release: master (Flatpak runtime)
Installation prefix: /app
Steps to reproduce
- Launch Geary, have it sync mail, have some unread mail
- Archive a few of them
- Switch VPNs (disable, enable)
- (Geary displays "Account problem")
- The mail from step 2. came back as unread
- Select some conversation and try to archive it
- It disappears then instantly reappears as unread
After a Geary restart everything works.
Relevant logs and/or screenshots
Inspector log which shows trying to do step 6. repeatedly a few times: Geary_Inspector_-_2020-08-26_09_16_09.txt
Details from Account problem:
Account identifier: goa_account_1582611868_0
Account provider: GEARY_SERVICE_PROVIDER_GMAIL
Error type: GearyEngineError 8
Message: Folder GearyImapEngineGmailFolder(>INBOX, open_count=3, remote_opened=true) not available
Back trace:
* geary_problem_report_construct
* geary_account_problem_report_construct
* application_main_window_get_status_bar
* application_main_window_get_status_bar
* g_subprocess_communicate_utf8
* g_task_attach_source
* application_mark_email_command_new
* g_subprocess_communicate_utf8
* g_task_attach_source
* application_controller_command_stack_email_removed
* g_subprocess_communicate_utf8
* g_task_attach_source
* application_command_stack_update_undo_stack
* g_subprocess_communicate_utf8
* g_task_attach_source
* application_controller_command_stack_email_removed
* g_subprocess_communicate_utf8
* g_task_attach_source
* geary_app_email_store_get_supported_operations_async
* g_subprocess_communicate_utf8
* g_task_attach_source
* geary_app_email_store_get_supported_operations_async
* g_subprocess_communicate_utf8
* g_task_attach_source
* geary_imap_engine_minimal_folder_get_harvester
* g_subprocess_communicate_utf8
* g_task_attach_source
* geary_imap_engine_minimal_folder_close_internal
* g_subprocess_communicate_utf8
* g_task_attach_source
* geary_nonblocking_lock_reset
* geary_scheduler_scheduled_instance_get_type
* g_main_context_dispatch
* g_main_context_dispatch
* g_main_context_iteration
* g_application_run
* _vala_main
* __libc_start_main
* _start