|Go to Page...
|07-11-23, 07:58 PM
A Defias Bandit
Join Date: Jul 2023
SetText on AceGUI multi line edit box results in no text after AFK
Edit: Sorry if this is in the wrong section, just noticed there's a Lua/XML Help section.
I'm a few months into learning Lua and addon development.
My first addon allows players to customize each chat frame.
One of the features allows players to copy messages from a chat frame by duplicating them to an AceGUI multi line edit box when you hold control and left click on a chat tab.
I noticed that if I AFK for about 10 minutes and come back, sometimes no messages show up when I try to open the frame.
I have tried to debug the problem as shown below. I was able to reproduce the issue of the messages not showing up in the multi line edit box, but they would appear in ChatFrame4 and ChatFrame5.
My code is on GitHub as well so it might be easier to look at here: https://github.com/drzewieckinichola...dules/Copy.lua
The files we're probably interested in are Modules/Copy.lua, Hooks/ChatFrame.lua, and I guess Utils/ChatFrame.lua, but I'm assuming the problem is in Modules/Copy.lua.
Does anybody have any idea what I'm doing wrong?
Here are some images as well: https://imgur.com/a/M46PsRp
Thanks in advance!
Last edited by Garmsen : 07-11-23 at 08:14 PM.
|WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » SetText on AceGUI multi line edit box results in no text after AFK