This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Using 7.0.0 on WoW 7.0.3 (22248)
With a very-full inbox, typing in the search bar is extremely slow.
My test case is:
I brain farted and forgot to test with other addons disabled.
shift-click
Add tooltip:Hide() to the ShowInboxGUI() function in the 'else' branch of the "if not tooltip" test (line 974 i believe):
function mod:ShowInboxGUI() [...] if not tooltip then [...] else tooltip:Hide() -- add THIS to stop the horrible lag tooltip:Clear() end [...]
this should fix it.
it seems the tooltip being updated with lots of rows while also not hidden makes it take incrementally longer for each call to tooltip:AddLine(...), getting longer by ~10ms (on my system) per item added; once you've added above 100 items to the tooltip, each subsequent tooltip:AddLine(...) call to an existing & visible tooltip (even though it's been Clear()ed) is taking upwards of 100ms per item. With around 100 items in the inbox, this cumulative delay is lagging the entire UI by at least 3 seconds per InboxGUI refresh--which happens every time cash or an item is taken from the inbox. With 200 items it's taking more like 15 seconds per refresh, making everything completely unusable.
Adding the tooltip:Hide() fixes this for me beautifully.
@Rubio9: Go
Confirmed that this appears to fix the lag issue. I haven't noticed any other issues crop up as a result of this change.
Thanks Rubio, I was having short freezes even from opening the inbox due to several mails with up to 12 green BoEs. Search worked fine though, was even my workaround when I had to switch between inbox and send tab several times :P
Hmm, but now the search box gets unfocused when I type a letter...
So this should be fixed.. finalkly :)
To post a comment, please login or register a new account.