GNOME Bugzilla – Bug 725518
Crash on context menu on misspelled work with no suggestions
Last modified: 2014-03-05 02:09:32 UTC
As reported by Mattias Eriksson on the mailing list: Geary crashes if you right click on a misspelled word that doesn't have any spelling suggestions. (A long series of z's works.) The first option on the default context menu in this case is a disabled item saying "No Guesses Found". The webkit_context_menu_item_get_action function should return WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND (I think), but instead it falls through to a g_assert_not_reached(), bringing everything down. This is in WebKitGTK 1.10, but the source for 2.2 and 2.4 seems to be unchanged. I haven't found an upstream bug about this; I suppose we should report it.
Created attachment 270726 [details] [review] workaround This works around the problematic call by noting that it's the only one that is insensitive.
Thanks Robert and Mattias, we'll take a look at this soon.
This looks good, thanks! Fixed in commit 5bb9349.