GNOME Bugzilla – Bug 751933
Cannot search while draft open as inline composer
Last modified: 2019-10-24 05:08:28 UTC
Go to a thread and press the "reply" button for a message. Start typing a reply and then type something into the search box in the main toolbar that makes the thread invisible. In most cases the result will be a crash.
I'm unable to reproduce a crash, but the behavior is bad nonetheless. Should we disable the search box when there's a composer open, to avoid these sorts of problems? Or is there a cleverer solution? If you feel like following these steps (https://wiki.gnome.org/Apps/Geary/ReportingABug) to get a crash report, it might be interesting to see what exactly went wrong. But any fix to this problem will focus on lot letting you get into this state to begin with, so this isn't so important.
I'm unable to reproduce the crash. As soon as I start searching, the dialog asking if I want to close the draft message pops up. If I cancel, the search is stopped. We have a problem only when the composer is inline. The search can be safely used when the composer is detached. I'll change the title accordingly. I don't know what's the proper way to handle such a (rare) situation. Two possible ways: 1. disable/hide the search while inline is active 2. detach the composer automatically if the user happens to search while inline composer is active I don't have strong opinions on this.
This will be taken care of once we move to a persistent composer model, and probably not before then. See https://gitlab.gnome.org/GNOME/geary/issues/413 for some design work in this direction.