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

Error pops when opening ElvUI minimap menu #341

Closed
bl4kd3th opened this issue Aug 28, 2024 · 1 comment
Closed

Error pops when opening ElvUI minimap menu #341

bl4kd3th opened this issue Aug 28, 2024 · 1 comment
Labels
1_bug Something isn't working 2_to develop Development can begin 3_solved Issue is fixed

Comments

@bl4kd3th
Copy link

Describe the bug

Error thrown and minimap menu doesn't open.

29x TipTac/ttCore.lua:751: attempt to perform arithmetic on global 'Offset' (a nil value)
[string "@TipTac/ttCore.lua"]:751: in function <TipTac/ttCore.lua:607>
[string "@TipTac/ttCore.lua"]:760: in function <TipTac/ttCore.lua:758>
[string "=[C]"]: in function ToggleDropDownMenu' [string "@Blizzard_FrameXML/EasyMenu.lua"]:22: in function EasyMenu'
[string "@ElvUI/Core/General/API.lua"]:1009: in function `ComplicatedMenu'
[string "@ElvUI/Core/Modules/Maps/Minimap.lua"]:268: in function <ElvUI/Core/Modules/Maps/Minimap.lua:258>

Locals:
prefixName = "DropDownList"
level = 1
dropDownFrame = MinimapRightClickMenu {
BottomLeftCorner = Texture {
}
Right = MinimapRightClickMenuRight {
}
OnBackdropLoaded = defined @Blizzard_SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Blizzard_SharedXML/Backdrop.lua:390
TopLeftCorner = Texture {
}
Middle = MinimapRightClickMenuMiddle {
}
template = "Transparent"
BottomEdge = Texture {
}
SetBackdrop = defined @Blizzard_SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Blizzard_SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @Blizzard_SharedXML/Backdrop.lua:409
GetBackdrop = defined @Blizzard_SharedXML/Backdrop.lua:347
SetBorderBlendMode = defined @Blizzard_SharedXML/Backdrop.lua:266
menuList =

{
}
PixelSnapDisabled = true
displayMode = "MENU"
backdropInfo =
{
}
OnBackdropSizeChanged = defined @Blizzard_SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Blizzard_SharedXML/Backdrop.lua:278
Icon = MinimapRightClickMenuIcon {
}
SetBackdropBorderColor = defined @Blizzard_SharedXML/Backdrop.lua:422
Center = Texture {
}
GetEdgeSize = defined @Blizzard_SharedXML/Backdrop.lua:188
RightEdge = Texture {
}
0 =
TopEdge = Texture {
}
Text = MinimapRightClickMenuText {
}
ApplyBackdrop = defined @Blizzard_SharedXML/Backdrop.lua:294
Left = MinimapRightClickMenuLeft {
}
BottomRightCorner = Texture {
}
SetupTextureCoordinates = defined @Blizzard_SharedXML/Backdrop.lua:214
Button = MinimapRightClickMenuButton {
}
initialize = defined @Blizzard_FrameXML/EasyMenu.lua:25
SetupPieceVisuals = defined @Blizzard_SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Blizzard_SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
TopRightCorner = Texture {
}
}
anchorName = "cursor"
xOffset = 1834.166610
yOffset = 1095.000101
_level = 1
tip = DropDownList1 {
BottomLeftCorner = Texture {
}
OnBackdropLoaded = defined @Blizzard_SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Blizzard_SharedXML/Backdrop.lua:390
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
template = "Default"
ApplyBackdrop = defined =[C]:-1
SetBackdrop = defined =[C]:-1
ClearBackdrop = defined =[C]:-1
GetBackdropBorderColor = defined @Blizzard_SharedXML/Backdrop.lua:409
GetBackdrop = defined @Blizzard_SharedXML/Backdrop.lua:347
SetBorderBlendMode = defined @Blizzard_SharedXML/Backdrop.lua:266
PixelSnapDisabled = true
SetupTextureCoordinates = defined @Blizzard_SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Blizzard_SharedXML/Backdrop.lua:182
TopRightCorner = Texture {
}
numButtons = 16
SetScale = defined =[C]:-1
Center = Texture {
}
GetEdgeSize = defined @Blizzard_SharedXML/Backdrop.lua:188
0 =
BottomEdge = Texture {
}
TopEdge = Texture {
}
isSkinned = true
BottomRightCorner = Texture {
}
maxWidth = 140.833359
backdropInfo =
{
}
dropdown = MinimapRightClickMenu {
}
HasBackdropInfo = defined @Blizzard_SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined =[C]:-1
SetupPieceVisuals = defined @Blizzard_SharedXML/Backdrop.lua:246
SetBackdropColor = defined =[C]:-1
LeftEdge = Texture {
}
shouldRefresh = true
}
frameParams =
{
originalBottomOffsetForPreventingOffScreen = 0
frameName = "DropDownList1"
originalLeft

Steps to Reproduce

1: with ElvUI enabled, middle-mouse-button click on minimap
2: see error in bugsack

Expected behavior

expecting to see the popup menu at cursor

Additional context

Offset variable doesn't exist, tried changing it to xOffset on line 751 and the menu did pop up but it wasn't relative to cursor, it was inversely relative to my tooltip anchor.

Version of TipTac Reborn

24.08.28

Flavor/Version of WoW

Cata Classic

@bl4kd3th bl4kd3th added the 1_bug Something isn't working label Aug 28, 2024
@frozn
Copy link
Owner

frozn commented Aug 29, 2024

Thanks for reporting this! 👍

Fix will be included in the next release.

@frozn frozn added 2_to develop Development can begin 3_solved Issue is fixed labels Aug 29, 2024
@frozn frozn closed this as completed Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1_bug Something isn't working 2_to develop Development can begin 3_solved Issue is fixed
Projects
None yet
Development

No branches or pull requests

2 participants