|
If you try to paste a really long text into a editbox, you will expirience quite a delay. UI freezes, and the longer the text the longer it freezes. On my machine 40000 letter text paste freezes WoW for about 45 seconds. Here is how you test it:
You do /script HelpFrameOpenTicketText:SetMaxLetters(60000) and then you paste, say 50000 letter text into GM Ticket description editbox. (Press report verbal harrasment or any other button that displays this editbox) It hangs around a minute on paste(depending on you spec). Optionally you can call /script HelpFrameOpenTicketText:SetScript("OnTextChanged",nil) and /script HelpFrameOpenTicketText:SetScript("OnCursorChanged",nil) beforehand, but it doesn't change things much.
So my question more or less is there something that I'm missing, and if not, can it be fixed? Thank you in advance.
|