GNOME Bugzilla – Bug 602493
Double context menu
Last modified: 2010-01-04 13:24:12 UTC
Created attachment 148168 [details] [review] Patch, fixing the bug. In search all notes window: 1. Select notebook 2. Select note 3. Click on selected notebook 4. Press context menu key => Two context menus open. Patch attached.
Corresponding Tomboy bug: https://bugzilla.gnome.org/606007
Review of attachment 148168 [details] [review]: Good catch. The even easier fix is to make NoteRecentChanges::on_notebooks_key_pressed return true instead of false so that other event handlers for the "key-pressed" event are not invoked after it. The cleaner way to do it, in my opinion would be to have three different handlers. One for the window to deal with the escape, and one each for the two trees.
Created attachment 150775 [details] [review] Proposed fix
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.