GTK crashes if a_sort_model.set_sort_column_id(-2, 0) is used
Steps to reproduce
GTK4: GTK crashes if a_sort_model.set_sort_column_id(-2, 0) is used
- Use
a_sort_model.set_sort_column_id(-2, 0)
for stopping sorting TreeView columns during updating treestore model - See the behavior. It crashes without waiting.
- The model has TreeModelSort and TreeModelFilter
- GTK3: No crash but it does not solve this problem.
Version information
- GTK 4.10.4 (Python)
- GTK 3.24.24
Warnings
GTK4 Warnings:
(python3:2): Gtk-CRITICAL **: 11:38:08.356: fill_sort_data: assertion 'header != NULL' failed
Backtrace
--
Edited by userss 11