GNOME Bugzilla – Bug 604779
Right click to change active row in search window
Last modified: 2010-01-04 18:38:23 UTC
Created attachment 149877 [details] [review] Implemented proposed feature. When right click is done on a notebook, it's natural to expect, that context menu applies to that notebook. Doing right click on a note is almost the same, except when there are multiple notes selected. Proposed change is this: Right click on notebook should select a notebook first, then popup a context menu for it. Right click on note, have 3 possible cases: * No note is selected - the clicked note should be selected and context menu openned. * A single note is selected - selection should be removed and then the clicked note selected. Then the context menu is openned. * Multiple notes are selected - behave as it is done now (no changes).
Review of attachment 149877 [details] [review]: Looks fine. Thanks. Comparing with Tomboy's sources I found that it manages to let right click change the selection for notebooks but not for notes, but there is no equivalent of the following for their notebook code: + if (m_notebooksTree->get_path_at_pos (ev->x, ev->y, p, col, cell_x, cell_y)) + m_notebooksTree->get_selection()->select(p);
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.