Page MenuHomePhabricator

Genlist insert below expanded tree get's mixed with child items
Open, NormalPublic


create a genlist and add a tree item "tree", insert into that "a" and "c". Show them all.

Then insert an item into the root called "b" - notice it will be inserted between "a" and "c" rather than after the expanded tree item!!

This only happens at the top level (if parent_it is NULL).
Looks like it's relying on a simple sort comparison of all items in this situation rather than working out the tree structure...

rimmed added a subscriber: rimmed.Nov 29 2016, 10:10 PM

Sorted insert to top level not only work wrong, but can call segfault T4850

stefan_schmidt triaged this task as Normal priority.Feb 10 2017, 7:04 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:58 AM
q66 edited projects, added efl: widgets; removed Restricted Project.Jun 11 2018, 7:49 AM