ToxiUI - ElvUI edit

ToxiUI - ElvUI edit

349k Downloads

Closing GameMenu triggers an error

Mera42 opened this issue · 4 comments

commented

Description

Error triggering when closing Game menu (Esc key)

Lua error

22x ElvUI_ToxiUI/Modules/Misc/GameMenuButton.lua:166: attempt to index field 'backgroundFade' (a nil value)
[string "@ElvUI_ToxiUI/Modules/Misc/GameMenuButton.lua"]:166: in function <ElvUI_ToxiUI/Modules/Misc/GameMenuButton.lua:165>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `Hide'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:471: in function `SetUIPanel'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:502: in function `MoveUIPanel'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:555: in function `HideUIPanelImplementation'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:514: in function `HideUIPanel'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:177: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:168>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:898: in function `HideUIPanel'
[string "@Blizzard_UIParent/Mainline/UIParent.lua"]:2806: in function <...rfaceBlizzard_UIParent/Mainline/UIParent.lua:2781>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `ToggleGameMenu'
[string "TOGGLEGAMEMENU"]:1: in function <[string "TOGGLEGAMEMENU"]:1>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'backgroundFade' (a nil value)"
self = <table> {
 iconCache = <table> {
 }
 modules = <table> {
 }
 baseName = "ElvUI_ToxiUI"
 defaultModuleState = true
 addonsToLoad = <table> {
 }
 hooks = <table> {
 }
 db = <table> {
 }
 enabledState = true
 isEnabled = false
 callOnInit = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 Initialized = true
 name = "ElvUI_ElvUI_ToxiUI_Misc"
 orderedModules = <table> {
 }
 moduleName = "Misc"
}

ToxiUI Status Report

image

Screenshots

image

To reproduce

If this issue is describing a bug, include some steps to reproduce the behavior

  1. Hitting Esc key (showing menu)
  2. Close menu
  3. Repeat
commented

Works fine without issues for me:
image

What do your settings look like here?
image

commented

image

commented

Unticking Background Fade is triggering the error, no error is triggering when it is ticked

commented

I see. The issue happens during closing of the game menu, it's trying to hide backgroundFade which does not exist.

I fixed it here, will be available next beta release.
5669694