GNOME Bugzilla – Bug 272676
Saved filter rule can't be modified if it is selected with GOK.
Last modified: 2005-02-18 05:33:18 UTC
Steps to reproduce: 1. Launch GOK and Evolution, and go to mail conponent. 2. Ensure there is at least one filter rule available. 3. Select Menus->Tools->Filters->UI Grab->Rule name in GOK, and select one saved filter rule. 4. Click back->UI Grab. Expected result: The rule is selected. And "the edit rule dialog should popup" or "the Edit, Remove, Up and Down buttons should be activated" Actual result: Rule is selected, but Edit, Remove, Up and Down buttons are not activated after you select one and no edit dialog popups.
When gok selects a cell, it will try to activate its default action. For gtktreeview's cell, the default action is calling gtk_tree_view_row_activated(). In rule-editor.c, the "row-activated" signal's handler is function double_click(). However, this function doesn't check whether this is a row selected. It just check "re->current". This works for normal mouse and keyboard users since in function cursor_changed(), the "re->current" is set there. But for gok users, cursor_changed won't be called. I will provide a patch soon.
Created attachment 44803 [details] [review] patch 1.0
*** This bug has been marked as a duplicate of 272285 ***
sorry, pasted into the wrong box :(
patch committed.