Deleted folder doesn't disappear
Bug summary
I deleted an IMAP folder from the webmail interface, but Geary keeps remembering that folder in the left sidebar.
Clicking that folder causes an exception internally in Geary when it tried to download the mail inside that folder.
There is no apparent way to get rid of that broken folder.
About you
- Geary version: mainline / commit 8654c7ae
- Installation method: Compiled from source with Gnome Builder (also happens in Flatpak)
- Your desktop: Gnome 3
- Your operating system and version: Fedora 29
- Email provider: strato.de
Steps to reproduce
- Create IMAP folder on Strato account webmail site as subfolder of Inbox
- Sync mail in Geary, observe folder appears
- Delete IMAP folder in webmail GUI (it gets moved to be a subfolder of Trash)
- Sync mail again in Geary (unsure if needed)
- Delete IMAP folder from Trash in webmail GUI.
(Not sure if happens with other mail providers)
What is the current bug behavior?
Folder keeps staying in Geary as a subfolder of the Trash folder. Geary prints the following debug output up on clicking the folder:
*[wrn] 10:01:18 0.016201 geary: app-conversation-monitor.vala:650: Unable to close monitored folder account_01:>Trash>FolderName (open_count=0 remote_opened=false): close_async failed: folder account_01:>Trash>FolderName (open_count=0 remote_opened=false) is not open
(geary:2): Gtk-DEBUG: 10:01:22.445: State 0 for ConversationListView 0x557d263f74d0 doesn't match state 192 set via gtk_style_context_set_state ()
(geary:2): Gtk-DEBUG: 10:01:22.445: State 0 for ConversationListView 0x557d263f74d0 doesn't match state 192 set via gtk_style_context_set_state ()
(geary:2): Gtk-DEBUG: 10:01:22.445: State 0 for ConversationListView 0x557d263f74d0 doesn't match state 192 set via gtk_style_context_set_state ()
(geary:2): Gtk-DEBUG: 10:01:22.478: State 0 for ConversationListView 0x557d263f74d0 doesn't match state 192 set via gtk_style_context_set_state ()
... (repeated hundreds of times)
After that mails generally don't load anymore even if clicking on other folders on any account (right side stays empty).
What is the expected correct behavior?
Geary deletes the folder from it's database if it is deleted from the server. Also other folders should still load if something is wrong with loading mail from one folder.