Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Retail) Menu Addon Lua Error #69

Open
nomadamo opened this issue Jan 26, 2023 · 5 comments
Open

(Retail) Menu Addon Lua Error #69

nomadamo opened this issue Jan 26, 2023 · 5 comments

Comments

@nomadamo
Copy link
Contributor

This occurs with Interface Cursor enabled, and then opening the menu via esc/bound button and mousing over any object with a tooltip.

Message: ...nterface/AddOns/ConsolePort/Controller/UI/UINode.lua:412: script ran too long Time: Thu Jan 26 11:02:54 2023 Count: 1 Stack: ...nterface/AddOns/ConsolePort/Controller/UI/UINode.lua:412: script ran too long [string "@Interface/AddOns/ConsolePort/Controller/UI/UINode.lua"]:412: in function <...nterface/AddOns/ConsolePort/Controller/UI/UINode.lua:410> [string "@Interface/AddOns/ConsolePort/Controller/UI/UINode.lua"]:265: in function <...nterface/AddOns/ConsolePort/Controller/UI/UINode.lua:258> [string "@Interface/AddOns/ConsolePort/Controller/UI/UINode.lua"]:135: in function <...nterface/AddOns/ConsolePort/Controller/UI/UINode.lua:132> [string "@Interface/AddOns/ConsolePort/View/Cursors/Interface.lua"]:140: in function ScanUI'
[string "@Interface/AddOns/ConsolePort/View/Cursors/Interface.lua"]:148: in function <...erface/AddOns/ConsolePort/View/Cursors/Interface.lua:146>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ConsolePort/Controller/UI/UIStack.lua"]:171: in function `UpdateFrames'
[string "@Interface/AddOns/ConsolePort/Controller/UI/UIStack.lua"]:48: in function <...terface/AddOns/ConsolePort/Controller/UI/UIStack.lua:44>

Locals: node = SpellbookMicroButton {
0 =
OnEnter = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:422
FlashBorder = Texture {
}
QuickKeybindButtonOnShow = defined @Interface/FrameXML/QuickKeybind.lua:4
EvaluateAlertVisibility = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:529
QuickKeybindButtonOnEnter = defined @Interface/FrameXML/QuickKeybind.lua:22
DoModeChange = defined @Interface/FrameXML/QuickKeybind.lua:95
QuickKeybindButtonOnUpdate = defined @Interface/FrameXML/QuickKeybind.lua:75
tooltipText = "Spellbook & Professions (P)"
QuickKeybindButtonOnLeave = defined @Interface/FrameXML/QuickKeybind.lua:33
FlashContent = Texture {
}
OnClick = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:506
QuickKeybindButtonSetTooltip = defined @Interface/FrameXML/QuickKeybind.lua:52
OnLoad = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:499
QuickKeybindHighlightTexture = Texture {
}
commandName = "TOGGLESPELLBOOK"
OnEvent = defined @Interface/FrameXML/MainMenuBarMicroButtons.lua:519
oldSpecID = 1
layoutIndex = 2
UpdateMouseWheelHandler = defined @Interface/FrameXML/QuickKeybind.lua:86
QuickKeybindButtonOnHide = defined @Interface/FrameXML/QuickKeybind.lua:11
QuickKeybindButtonOnMouseWheel = defined @Interface/FrameXML/QuickKeybind.lua:46
QuickKeybindButtonOnClick = defined @Interface/FrameXML/QuickKeybind.lua:16
}
rect = ActionButton11 {
0 =
OnEnter = defined @Interface/FrameXML/ActionButton.lua:1180
FlyoutArrowContainer = Frame {
}
NewActionTexture = Texture {
}
RightDivider = Frame {
}
showButtonArt = true
DoModeChange = defined @Interface/FrameXML/QuickKeybind.lua:95
UpdateButtonArt = defined @Interface/FrameXML/ActionButton.lua:1225
QuickKeybindButtonOnLeave = defined @Interface/FrameXML/QuickKeybind.lua:33
UpdateAction = defined @Interface/FrameXML/ActionButton.lua:337
OnReceiveDrag = defined @Interface/FrameXML/ActionButton.lua:1174
icon = ActionButton11Icon {
}
SlotArt = Texture {
}
AutoCastable = Texture {
}
UpdateState = defined @Interface/FrameXML/ActionButton.lua:474
UpdatePressAndHoldAction = defined @Interface/FrameXML/ActionButton.lua:320
HotKey = ActionButton11HotKey {
}
HighlightTexture = Texture {
}
UpdateOverlayGlow = defined @Interface/FrameXML/ActionButton.lua:687
GetPagedID = defined @Interface/FrameXML/ActionButton.lua:985
Update = defined @Interface/FrameXML/ActionButton.lua:353
ClearProfessionQuality = defined @Interface/FrameXML/ActionButto`

@seblindfors
Copy link
Owner

Not sure how to reproduce. How did you enable the interface cursor while having the game menu open?

@nomadamo
Copy link
Contributor Author

Apparently it's only happening on one of my toons, and since I disabled all other addons except CP and CP Menu and it still does it, then I'm guessing it's WTF related. Thanks for the response, feel free to close.

@seblindfors
Copy link
Owner

I'm still curious what's causing it. The stack trace indicates some kind of infinite loop in the UI tree scanner, which I think can only happen if you have a cyclical dependency, or if the amount of frames it's scanning is numbered in the thousands.

@nomadamo
Copy link
Contributor Author

nomadamo commented Feb 1, 2023

It only happens when I hit escape and mouse over any object (perhaps just moving the mouse). Opening the menu with the gamepad doesn't trigger this.

@nomadamo
Copy link
Contributor Author

Disabling Unlimited Navigation keeps this from happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants