Error when I select a "Load condition" with "Multiple" and select several or even just one option.
gotex007 opened this issue ยท 9 comments
Describe the bug
It seems to happen with any of the options to select multiple conditions like classes, specs, instance types, etc. The error seems to says it's ElvUI triggering it but it actively happens specifically in Clicked and Clicked is mentioned in the log so I'm reporting it here.
Clicked Version
1.15.3b
World of Warcraft Flavor
Retail
Tried with only Clicked enabled
- Yes
- No
Lua Errors
24x .../ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua:173: attempt to index local 'widget' (a nil value)
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:173: in function Release' [string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:468: in function
ReleaseChildren'
[string "@Clicked/Config/Bindings.lua"]:3237: in function <Clicked/Config/Bindings.lua:3233>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function Fire' [string "@Clicked/Widgets/AceGUIContainer-ClickedTreeGroup.lua"]:1325: in function
Select'
[string "@Clicked/Widgets/AceGUIContainer-ClickedTreeGroup.lua"]:1335: in function SelectByValue' [string "@Clicked/Widgets/AceGUIContainer-ClickedTreeGroup.lua"]:1078: in function
ConstructTree'
[string "@Clicked/Config/Bindings.lua"]:3383: in function BindingConfig_Redraw' [string "@Clicked/Core/BindingProcessor.lua"]:638: in function <Clicked/Core/BindingProcessor.lua:600> [string "@Clicked/Core/BindingProcessor.lua"]:652: in function
ReloadBinding'
...
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua"]:369: in function <...re/Ace3/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua:366>
[string "=[C]"]: in function Hide' [string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:176: in function
Release'
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:468: in function ReleaseChildren' [string "@Clicked/Config/Bindings.lua"]:3237: in function <Clicked/Config/Bindings.lua:3233> [string "=[C]"]: ? [string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64> [string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function
Fire'
[string "@Clicked/Widgets/AceGUIContainer-ClickedTreeGroup.lua"]:1304: in function `SetSelected'
[string "@Clicked/Widgets/AceGUIContainer-ClickedTreeGroup.lua"]:466: in function <...Clicked/Widgets/AceGUIContainer-ClickedTreeGroup.lua:460>
Locals:
self =
objPools =
}
WidgetBase =
}
counts =
}
FocusedWidget =
}
LayoutRegistry =
}
tooltip = AceGUITooltip {
}
WidgetRegistry =
}
WidgetVersions =
}
WidgetContainerBase =
}
}
widget = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'widget' (a nil value)"
UIParent = UIParent {
variablesLoaded = true
Tabs =
}
PixelSnapDisabled = true
firstTimeLoaded = 1
}
Reproduction Steps
- Select a macro
- Change a load condition to "Multiple" (e.g. class)
- Select multiple options or even unselect the default option and select it again (e.g. hunter, paladin, and priest)
- Click on any other macro or group
- Error triggers but otherwise doesn't seem to break or affect anything.
Last Working Version
No response
Screenshots
No response
Debug Output
No response
This might be related to #207 as it seems that in step 4 of my reproduction steps above, if you instead select a tab (except Action?) in the same macro that is the tab that gets stuck and overlayed until a reload.
Example steps for the weird overlay problem:
- Click "New" (happens with any macro, does not need to be a new one)
- Click "Cast a spell" (any macro type appears to work)
- Click "Load conditions"
- Click "Race" twice to make it "Multiple" (any tickbox with "Multiple" appears to work)
- Select any combination of options you want, so long as you select a new one or unselect the default and select it again
- Click on a different tab in that same macro, as long as it is not "Action"
- The tab you selected is now overlayed as described in #207 when you look at any tab in any macro, but not in the "New" menu or at a "Group"
I'll edit my ticket there to reflect my discovery of intentional reproduction.
I cannot reproduce this nor #207, does it happen consistently? Can you try it without other addons enabled?
Do you use ElvUI? It's certainly an interaction with ElvUI based on the error. I just chose to post it here because it doesn't happen with other addons and also I hate dealing with Repopoc and the ElvUI posse.
I don't know then. I have a 100% reproduction rate with both issues. I just did it now with both of today's Clicked and ElvUI updates. Also tested it with only ElvUI and Clicked enabled and I still replicate it with 100% success.
I recorded and uploaded me replicating both issues #207 and #208
Oh yeah, I see it now too, that video helped ๐
So I think it's a library issue, I'll try to get that resolved. But as a workaround, try closing the dropdown prior to switching pages
Yeah that is a workaround and it's not often somebody does go directly from the multi-select dropdown box to another macro or tab as they would probably go to another load option or naturally click out of the dropdown, which is why it took me some time to actually figure out exactly how to reproduce it.