Thread Tools Display Modes
10/13/18, 07:18 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
[fixed] zo_sortfilterlist inconsistency

Just noticed something strange about the code for ZO_SortFilterList. In SetLockedForUpdates the "UPDATE_VISIBLE" variable is not declared, meaning it will never be able to reach the self:RefreshVisible(), as it is checking if self.pendingUpdate is set. But that is probably not an issue right now, since UPDATE_VISIBLE is not used at all in RefreshVisible and instead it calls ZO_ScrollList_RefreshVisible directly, without checking if it is locked. Meaning the lock doesn't prevent refresh visible from getting called.
 
10/15/18, 02:17 PM   #2
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
We'll probably fix this by exempting visible from the locking and remove the case.
 

ESOUI » Developer Discussions » Bug Reports » [fixed] zo_sortfilterlist inconsistency

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off