Figure out why expansions aren't loaded on startup right...
- We are correctly calling expand_row on unknown items and items marked as True in the togglesdict.pickle.
- When we call expand_row we are getting False back for some reason stepping in it seems the tree path is not found.
- Changing show unavailable tasks default from False to True expansions are working again...
- Finally if we initialize show unavailable to True to make the filter ignored during creation/expansion, then change back to False after and reapply the filter. Everything seems to work as it used to.
I tried other things like not creating the filter at all until after the expansions are done, but in that case there was no model at all (since the list's model is set to the filter...) I tried setting the model to the task_store, etc. to get past that, but this refiltering after expanding seems to be the clearest workaround. I'm still not sure why _gtk_tree_view_find_node gives a null tree in the filtered case, but this seems to work here at least.
Edited by Jeremy Whiting
Merge request reports
Activity
Filter activity
requested review from @andrewsh
assigned to @jwhiting
added 1 commit
- ca6070cd - Figure out why expansions aren't loaded on startup right...
added 1 commit
- b2cb2df4 - Figure out why expansions aren't loaded on startup right...
@kov This seems to fix it here. I'm not sure why _gtk_tree_view_find_node fails when filtering is in place, but this disabling the filtering until after we expand seems to get around it fine.
Please register or sign in to reply