You can't have more than 84 entries in an "Option Group" array.
Lardeck opened this issue ยท 5 comments
Describe the bug
I expected to see the dropdown menu but instead i got an error.
Do you have an error log of what happened?
Message: ...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:111: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: AceGUI30DropDownItem85:SetPoint.
Time: Fri Sep 18 23:16:23 2020
Count: 1
Stack: ...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:111: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: AceGUI30DropDownItem85:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@Interface\AddOns\WeakAuras\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua"]:111: in function `SetPoint'
[string "@Interface\AddOns\WeakAuras\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua"]:199: in function `Open'
[string "@Interface\AddOns\WeakAuras\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua"]:392: in function <...as\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:382>
Locals: (*temporary) = AceGUI30DropDownItem85 {
0 = <userdata>
obj = <table> {
}
}
(*temporary) = "TOP"
(*temporary) = AceGUI30DropDownItem84 {
0 = <userdata>
obj = <table> {
}
}
(*temporary) = "BOTTOM"
(*temporary) = 0
(*temporary) = 1
To Reproduce
Steps to reproduce the behavior:
- Create any aura
- Create an "Option Group" with the "Array" group type in author mode in the custom options tab
- Go back to the use mode and create 84 entries
- Open the dropdown menu
- Create one more entry
- Try to open the dropdown menu
Screenshots
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Yes
Which version of WeakAuras are you using?
WeakAuras 3.0.0-beta2
Are you on World of Warcraft Classic or Retail?
- Classic
- Retail
- Shadowlands
Was it working in a previous version? If yes, which was the last good one?
I don't know.
Additional Info
This is probably a AceGUI error but its triggered from WeakAuras so i post it here first.
!WA:2!1svZYTTnq4QrEM0HhQJv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PoMESKGtLWGgxdtZ)nxtwZk2K6VyjHgbiWodgmpHoIQkEmyUDV9Tp(je4PZcl3gs(RFAJmA0YPbh)YPbHjUPVuqzgIRJ9M7YVAWcZll0IUC2AUtq)7DPAYL)W(hS)bFFaOWnQn(VV6Fo
I can reproduce the issue, this is actually a issue in how the library we are using is creating those drop down items.
Each item is acnhored to the previous one, thus this creates a 84 deep anchor stack, and apparently wow doesn't like that.
Changing how the anchoring works, like this attached patch would fix that:
AceGUIWidget-DropDown.lua.txt
I'll propose that patch to the AceGui maintainers.
Further information is at Stanzilla/WoWUIBugs#40 (comment)
This looks like a regression in Blizzard's anchoring code, so hopefully they'll fix it before the release. Or LibAceGui fixes their code to work around blizzard's new limitation. The maintainer of AceGui is aware of the problem.