GNOME Bugzilla – Bug 752532
Closing a search makes embedded composers disappear
Last modified: 2019-08-02 02:29:35 UTC
I did a conversation search, and while I was editing a reply I cleared the search entry box, a dialog showed up asking me to discard the draft or cancel the operation, I cancelled. Then the conversation list was empty and the conversation window was empty too. I clicked on Drafts and the same dialog appeared again, after clicking cancel for the second time the application crashed.
Created attachment 325762 [details] Backtrace with 0.10
No longer crashing on current master, but hitting Cancel still lets the composer disappear, which is bad.
Once https://gitlab.gnome.org/GNOME/geary/merge_requests/270 lands, a Discard/Cancel/Keep prompt will now be issued. Discard and Keep works as expected and the composer will be closed. If Cancel is selected, the composer will remain open, but the conversation list will be in an odd state. This is better than before, and while the real fix is to cancel closing the search if Cancel is clicked, that's a lot of work for a corner case that will go away once we get persistent composers in the main window. As such, while it's not perfect, marking as fixed.