Kiatra / ChocolateBar

ChocolateBar is a World of Warcraft addons to display plugins in a bar on top or bottom of your screen
https://www.wowace.com/projects/chocolatebar
18 stars 9 forks source link

Lua error when right clicking on the bar #23

Closed bubfeeld closed 1 year ago

bubfeeld commented 1 year ago

Getting this error when right clicking anywhere on the bar in pre patch 2

3x ...ar/libs/AceGUI-3.0-41/widgets/AceGUIContainer-Frame.lua:193: attempt to call method 'SetMinResize' (a nil value)
[string "@Interface/AddOns/ChocolateBar/libs/AceGUI-3.0-41/widgets/AceGUIContainer-Frame.lua"]:193: in function `?'
[string "@Interface/AddOns/ChocolateBar/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:108: in function <...e/AddOns/ChocolateBar/libs/AceGUI-3.0/AceGUI-3.0.lua:97>
[string "@Interface/AddOns/ChocolateBar/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:146: in function `Create'
[string "@Interface/AddOns/ChocolateBar/libs/AceConfig-3.0-3/AceConfigDialog-3.0-82/AceConfigDialog-3.0.lua"]:1916: in function `Open'
[string "@Interface/AddOns/ChocolateBar/Options.lua"]:1424: in function `OpenOptions'
[string "@Interface/AddOns/ChocolateBar/Core.lua"]:607: in function `LoadOptions'
[string "@Interface/AddOns/ChocolateBar/Bar.lua"]:17: in function <Interface/AddOns/ChocolateBar/Bar.lua:12>

Locals:
frame = Frame {
 0 = <userdata>
 OnBackdropLoaded = <function> defined @Interface/SharedXML/Backdrop.lua:152
 Center = Texture {
 }
 GetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:390
 SetupTextureCoordinates = <function> defined @Interface/SharedXML/Backdrop.lua:214
 OnBackdropSizeChanged = <function> defined @Interface/SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @Interface/SharedXML/Backdrop.lua:278
 SetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:422
 RightEdge = Texture {
 }
 backdropInfo = <table> {
 }
 BottomEdge = Texture {
 }
 GetEdgeSize = <function> defined @Interface/SharedXML/Backdrop.lua:188
 BottomLeftCorner = Texture {
 }
 BottomRightCorner = Texture {
 }
 TopEdge = Texture {
 }
 ApplyBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:282
 TopRightCorner = Texture {
 }
 GetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:347
 TopLeftCorner = Texture {
 }
 SetupPieceVisuals = <function> defined @Interface/SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:399
 LeftEdge = Texture {
 }
 SetBorderBlendMode = <function> defined @Interface/SharedXML/Backdrop.lua:266
}
(*temporary) = nil
(*temporary) = Frame {
 0 = <userdata>
 OnBackdropLoaded = <function> defined @Interface/SharedXML/Backdrop.lua:152
 Center = Texture {
 }
 GetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:390
 SetupTextureCoordinates = <function> defined @Interface/SharedXML/Backdrop.lua:214
 OnBackdropSizeChanged = <function> defined @Interface/SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @Interface/SharedXML/Backdrop.lua:278
 SetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:422
 RightEdge = Texture {
 }
 backdropInfo = <table> {
 }
 BottomEdge = Texture {
 }
 GetEdgeSize = <function> defined @Interface/SharedXML/Backdrop.lua:188
 BottomLeftCorner = Texture {
 }
 BottomRightCorner = Texture {
 }
 TopEdge = Texture {
 }
 ApplyBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:282
 TopRightCorner = Texture {
 }
 GetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:347
 TopLeftCorner = Texture {
 }
 SetupPieceVisuals = <function> defined @Interface/SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:399
 LeftEdge = Texture {
 }
 SetBorderBlendMode = <function> defined @Interface/SharedXML/Backdrop.lua:266
}
(*temporary) = 400
(*temporary) = 200
(*temporary) = "attempt to call method 'SetMinResize' (a nil value)"
CreateFrame = <function> defined =[C]:-1
UIParent = UIParent {
 0 = <userdata>
 Tabs = <table> {
 }
 ContainerFrames = <table> {
 }
 firstTimeLoaded = 1
 variablesLoaded = true
}
FrameBackdrop = <table> {
 bgFile = "DialogFrame\UI-DialogBox-Background"
 tileSize = 32
 edgeFile = "DialogFrame\UI-DialogBox-Border"
 tile = true
 edgeSize = 32
 insets = <table> {
 }
}
Frame_OnShow = <function> defined @Interface/AddOns/ChocolateBar/libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:28
Frame_OnClose = <function> defined @Interface/AddOns/ChocolateBar/libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:32
Frame_OnMouseDown = <function> defined @Interface/AddOns/ChocolateBar/libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:36
Button_OnClick = <function> defined @Interface/AddOns/ChocolateBar/libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:23
PaneBackdrop = <table> {
 bgFile = "ChatFrame\ChatFrameBackground"
 tileSize = 16
 edgeFile = "Tooltips\UI-Tooltip-Border"
Kiatra commented 1 year ago

Fixed in v3.9