Symptom:
When I enable Plugins->Bars->Show anchor to be able to reposition BigWigs' timer bars, the two small anchor windows that are displayed don't show the Test buttons in their center on one of my characters. On another character of ine the Test buttons show up fine.
Troubleshooting steps taken:
Updated BigWigs using WAU. Ensured all other AddOns are disabled, but all BigWigs modules are enabled. Verified that the Extras->Test module is in fact available and working. I wasn't able to discern any difference between the two characters.
Code analysis:
I beleive I have (partially) tracked the problem to the following code section in Bars.lua : plugin:OnEnable. Around lines 594 to 598, the code I find is:
if BigWigs:HasModule("Test") then
testModule = BigWigs:GetModule("Test")
else
testModule = nil
end
Debugging this showed that testModule gets set to nil, despite the Test module being available when I check under Extras in BigWigs. testModule is later used inside
plugin:SetupFrames like this:
if not testModule then testbutton:Hide() end
thereby explaining the missing Test buttons.
Conclusions:
I don't know why it works on one character but not on another, but it appears to me to be a module load order problem. I am guessing here that the Test module (and therefore the Extras AddOn) needs to have loaded before the Plugins AddOn.
When I enable Plugins->Bars->Show anchor to be able to reposition BigWigs' timer bars, the two small anchor windows that are displayed don't show the Test buttons in their center on one of my characters. On another character of ine the Test buttons show up fine.
Troubleshooting steps taken:
Updated BigWigs using WAU. Ensured all other AddOns are disabled, but all BigWigs modules are enabled. Verified that the Extras->Test module is in fact available and working. I wasn't able to discern any difference between the two characters.
Code analysis:
I beleive I have (partially) tracked the problem to the following code section in Bars.lua : plugin:OnEnable. Around lines 594 to 598, the code I find is:
Debugging this showed that testModule gets set to nil, despite the Test module being available when I check under Extras in BigWigs. testModule is later used inside
plugin:SetupFrames like this:
thereby explaining the missing Test buttons.
Conclusions:
I don't know why it works on one character but not on another, but it appears to me to be a module load order problem. I am guessing here that the Test module (and therefore the Extras AddOn) needs to have loaded before the Plugins AddOn.