Truncating font after game launch
Translitdk opened this issue ยท 5 comments
Describe the bug
Text font truncates after you just started the game and did fire WA that was unloaded, instead of displaying full text.
This issue started to happen after WA switched text to subregions.
Do you have an error log of what happened?
No errors
To Reproduce
Make any WA, add some load parameters (like combat), close the game, open the game and login, enter the combat and trigger WA.
Screenshots
expected https://i.imgur.com/yMGMwkg.png
getting instead https://i.imgur.com/PwfrRFI.png / https://i.imgur.com/HDnBq5u.png
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
yes, same issue.
Which version of WeakAuras are you using?
2.15.4
Was it working in a previous version? If yes, which was the last good one?
Was working in latest version before text subregions
Additional context
Playing around with different stuff noticed that checking fonts after the most 1st login is bugged too https://i.imgur.com/Maryycv.png
Possibly SharedMedia issue or WA additial fonts?
Currently truncating comes from Fira Mono Medium font which is not "default" by blizzard.
Testing with Friz Quadrata TT / Arial Narrow doesn't seem replicate the issue.
Switching to self registed font from SharedMedia PFSquareSansPro doesn't provide the issue too.
But switching back to Fira Mono Medium reproduces that.
Not WA related, but if ElvUI is enabled it has the similar problem. https://i.imgur.com/zicgusU.png On this screenshot on the first login the font is different. If i show/hide them it goes back to what it's set. https://i.imgur.com/viFIwDN.gif Might be something is not loaded right after the most 1st login.
!nAv3YPTru43LCv7uhgqgsS7m9calSjdiCyfPjZ4rOfPvWwlPLQDfyYf6zVNZzLaSjTnd2IvNF)o)Ue0jWpGLfWIX)GJRtv7dwfW4LMnQIzBnsvUgyycyhMLKOfMaV2a78iG9JkzoWyORNV78awKsLgR2NZ2l3kcgaek1gvMV4fZITXCJiGvw)DJOUXRfK7IACetB4fg6GQmhG14CJOiHhjEQFCmiZt)PG)C)YcU(Phv7ff0XPIyj)jgQH(P9Q0KETuRxdXKAP1mdWiqMljlduTq7eiXiUGVuKVRLERinvgxf(hvHDU5Mo3(bu3eqz9gktaVzkKRxlkqa7rPWAc0XdBfNmR97LBKXarJmtaHKUCLyNi3WktsKVeWwoSpZFjZV)C)tkMuMtjLFHe9Q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ynKwp8SqSTp2aa35cluqsqBB0ZhoEdXks3y5z)AUMGRb)dufXcmVG9nqxvRo9AbzMDGN76GdMb)Zp
change aura_env.spell on init to match SPELL_CAST_SUCCESS trigger. WA loads in combat by default
I can reproduce that. It's obviously a upstream issue, but I'll try to figure out whether we can workaround it and whether I can figure out a minimal example.
Restarting the game for each test will be fun!
I guess it's the same if you put some table On init (Can be different API call) with
aura_env.something = {
[GetItemInfo(6948)] = true,
[GetItemInfo(169451)] = true,
[GetItemInfo(169299)] = true,
}
print(aura_env.something[GetItemInfo(6948)] ~= 1)
On the 1st player login it would not create needed table and would error on nil index if you would try to use it.
As workaround i had to add delay or wrap table in the function to rebuild it with C_Timer.After(0.5, ...)