-
Notifications
You must be signed in to change notification settings - Fork 80
Bug in listtreeview.md (Filtering example) #489
Comments
This works without issues here (Julia 1.3). What Julia and Gtk version are you using? |
I managed to make it crash on Julia 1.3 (mac os), there's a bunch of warnings though, it might be related to that : (<unknown>:3033): GLib-GObject-WARNING **: 11:11:08.362: invalid cast from 'GtkTreeModelFilter' to 'GtkTreeSortable'
(<unknown>:3033): Gtk-CRITICAL **: 11:11:08.362: gtk_tree_sortable_get_sort_column_id: assertion 'GTK_IS_TREE_SORTABLE (sortable)' failed
(<unknown>:3033): Gtk-CRITICAL **: 11:11:08.362: gtk_tree_sortable_has_default_sort_func: assertion 'GTK_IS_TREE_SORTABLE (sortable)' failed
(<unknown>:3033): Gtk-CRITICAL **: 11:11:08.362: gtk_tree_sortable_set_sort_column_id: assertion 'GTK_IS_TREE_SORTABLE (sortable)' failed
[1] 3033 segmentation fault julia |
It doesn't crash for me on Archlinux. I only get the usual warning
which should be harmless and unrelated (this is always shown when Gtk is loaded). |
Actually it crashes for me only after I selected one of the row, and then press a key in the entry. |
Julia 1.3.1 and Gtk 1.1.2. Win 10 x64 |
The problem arise when the TreeView becomes empty. Check a similar problem: So, the problem is not in the filtering function, is a problem related to the TreeView itself. |
Hi, me again. I just found a trick to avoid the crash. Just push the TreeView (tv in this example) to a GtkScrolledWindow and it works!.
|
Hi, I just found a bug in the Filtering example related to TreeView.
The following code works prefect when you enter a letter in top entry, but only when the letter is found among the 4 options available in "ls". If you type a different letter e.g. "f", the window suddenly crash and the julia session ends.
I tried adding a try/catch but the problem persists.
The text was updated successfully, but these errors were encountered: