WeakAuras

WeakAuras

206M Downloads

WA options open wrong icon display

Translitdk opened this issue ยท 0 comments

commented

Describe the bug

With WA options open some icons display wrong textures or display question mark if using TSU.

Do you have an error log of what happened?
no lua errors

To Reproduce

For progress bars:
any preview bar just displays question mark all the time no matter the trigger

For icons:
Any TSU with options event preview with icon field filled, like

function(states, event, ...)
    if event == "OPTIONS" then
        states[""] = {
            changed = true,
            show = true,
            progressType = "timed",
            duration = 60,
            expirationTime = GetTime() + 60,
            icon = 236407,
            name = "name",
            sometext = "sometext",
        }
        return true
    end
end

And now it will display correct icon until you do something in display tab, like ticking cooldown checkbox, changing icon size, text anchor point and so on. This will make icon turn question mark.
Actually this will make icon turn, if i'm not wrong, to whatever is selected in display tab. Like if you remove "auto" and select icon and then select "auto" back, then instead of question mark it will turn to that icon. If you remove that field and tick "auto" back icon will be transparent
Screenshots
https://i.imgur.com/k2GtCzY.png
https://youtu.be/aOgd2fmnV_0

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Same issue

Which version of WeakAuras are you using?
2.17.9

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail

Was it working in a previous version? If yes, which was the last good one?
It was working long time ago and some version broke it. I can't remember which one, but i remember i mentioned this once in WA discord and forgot about it.