GNOME Bugzilla – Bug 326892
In edit mode of GtkTreeView the data can not be retrieved from GtkComboBox
Last modified: 2007-01-03 00:10:42 UTC
Please describe the problem: When some row of GtkTreeView is in edit mode and when the cursor is in GtkComboBox the selected data of this cell can not be retrieved. I try the same situation with another types of components like Edit, Text, CheckBox, etc. where everything is working. The problem is occured only when the cursor is at ComboBox in edit mode. The problem can be inderectly solved when I move the selected cell to another cell of the same row with mouse or keyboard. Steps to reproduce: 1. Create one TreeView with 3 columns. One of the columns to be ComboBox. The another columns can be what you want. 2. Create new row and choose some value from the column with ComboBox. 3. Go to another compenent outside the TreeView to loss the focus 4. Retrieve the data from the current row of TreeView. You will see that all cells are with actual data exept the cell where is located ComboBox. Actual results: The data from cell where is ComboBox is lost. Expected results: To retrieve the selected data from ComboBox Does this happen every time? Yes Other information:
Can you please provide a small testcase ?
Oh, you are complaining about the fact that focus out does not stop the editing.
Here is an example reproducing the problem. The second column of the right treeview has cell renderer combo. When you select a value from it and don't click in the current treeview just click in the left treeview you can see that the render stays in edit mode and the "edited" signal is not fired.
Created attachment 57529 [details] Example representing the problem.
I am marking this bug as a duplicate, since we will be discussing canceling editing on focus-out in the other bug. *** This bug has been marked as a duplicate of 317387 ***