- User Since
- Nov 15 2017, 2:09 AM (157 w, 6 d)
Nov 16 2017
As Sanghyeon Jade Lee suggests this patch is fixing issue:
There is special case for last item, I think this is to avoid this issue, so assuming that there are X items visible items from 0 to (size-X) and last one are fine, and others fail.
D5428 is related to optimizations when list is not homogenous. Defect I reported is related to homogenous mode in which sizes and positions are known early. To show e.g. 9999 item elementary just calculates 1st item, and knows size of genlist and item's offset so only neighborhood is realized.
It is related with boundary conditions. For example if we have 10000 items, homogenous mode, and we are using elm_genlist_item_show it will work instantly with 100, 1000, and 9799'th item, but will fail with 9999'th item.