mega-macro icon indicating copy to clipboard operation
mega-macro copied to clipboard

Icon picker window blank — IconListInitialized stays false (Midnight)

Open Lavender-Daydream opened this issue 3 months ago • 1 comments

The macro icon picker window opens completely blank (no icons render at all).

BugSack shows two errors:

26x ...eMegaMacro/src/windows/mega-macro.window.lua:83: attempt to call a nil value
[MegaMacro/src/windows/mega-macro.window.lua]:83: in function <...eMegaMacro/src/windows/mega-macro.window.lua:81>
[MegaMacro/src/windows/mega-macro.window.lua]:472: in function 'MegaMacro_Window_OnShow'
...
Locals:
IconListInitialized=false

2043x ...eMegaMacro/src/windows/mega-macro.window.lua:750: attempt to index local 'macroPopupIcon' (a nil value)
[MegaMacro/src/windows/mega-macro.window.lua]:750: in function 'MegaMacro_PopupFrame_OnUpdate'
...
Locals:
numMacroIcons=30179
macroPopupIcon=nil
macroPopupButton=nil

Looks like whatever populates the icon list on window show never finishes (IconListInitialized stays false), so the popup update loop keeps trying to index a nil icon every frame.

Might be related to #237, but that one describes macros mixing up between characters/classes rather than the icon picker itself, so filing separately in case it's a different root cause.

Running current WowUp CF build, Midnight retail. Happy to provide more logs if useful.


Written/Troubleshot with the help of Claude by Anthropic.

Image:

Image

Lavender-Daydream avatar Aug 24 '26 06:08 Lavender-Daydream

This was fixed by #239. The blank picker happened because BuildIconArray no longer exists in the game's UI code, so the icon buttons were never created.

aurelion314 avatar Nov 08 '26 18:11 aurelion314