zarillion / handynotes-plugins

A collection of HandyNotes plugins for World of Warcraft.
Other
46 stars 34 forks source link

Error when clicking on the icon option in the upper right corner of the world map #400

Closed tommy610 closed 1 month ago

tommy610 commented 7 months ago

ADDON VERSION: (place version of the addon you have installed here) v46

Describe the bug Error pops up when trying to click the options in the upper right corner of the world map. No options pop up, not sure if it's your handy note plugin is causing it or the actual handynote addon is causing it.

10x ...akAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1321: attempt to index field 'NewFeature' (a nil value) [string "@WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua"]:1321: in function UIDropDownMenu_AddButton' [string "@HandyNotes_Dragonflight/core/templates.lua"]:115: in functionAddGroupButton' [string "@HandyNotes_Dragonflight/core/templates.lua"]:187: in function InitializeDropDown' [string "@HandyNotes_Dragonflight/core/templates.lua"]:46: in functioninitFunction' [string "@WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua"]:771: in function UIDropDownMenu_Initialize' [string "@WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua"]:1781: in functionToggleDropDownMenu' [string "@HandyNotes_Dragonflight/core/templates.lua"]:63: in function <...ceHandyNotes_Dragonflight/core/templates.lua:59>

Locals: self =

{ UIDropDownMenu_SetButtonText = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2085 containsMouse = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1920 UIDropDownMenu_DisableButton = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2069 Create_UIDropDownCustomMenuEntry = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2293 UIDropDownMenu_Refresh = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1448 UIDropDownMenu_Initialize = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:762 UIDropDownMenu_SetSelectedName = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1568 UIDropDownMenu_SetDropDownEnabled = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2111 UIDropDownMenu_SetInitializeFunction = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:789 UIDropDownMenu_GetSelectedID = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1594 UIDropDownMenu_MatchTextWidth = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1953 DropDownExpandArrowMixin =
{ } UIDropDownMenuButton_ShouldShowIconTooltip = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:118 UIDropDownMenu_InitializeHelper = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:92 DropDownMenuButtonMixin =
{ } UIDropDownMenuButton_GetName = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2055 UIDropDownMenu_ClearAll = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2000 UIDropDownMenu_GetCurrentDropDown = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2043 UIDropDownMenu_JustifyText = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2019 UIDropDownMenu_IsEnabled = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2160 UIDropDownMenu_RefreshDropDownSize = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:820 UIDropDownMenu_EnableButton = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2073 UIDropDownMenu_SetFrameStrata = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:816 UIDropDownMenu_AddButton = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:985 UIDropDownMenu_GetButtonWidth = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1400 CloseDropDownMenus = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1881 UIDropDownMenu_HandleGlobalMouseEvent = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1925 ColorPicker_GetPreviousValues = defined @AngryKeystones/libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2158 Create_UIDropDownMenu = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:748 UIDropDownMenu_SetButtonWidth = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:1980 UIDropDownCustomMenuEntryMixin =
{ } UIDropDownMenuButton_OpenColorPicker = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:2059 UIDropDownMenu_AddSeparator = defined @WeakAuras/Libs/LibUIDropDownMenu/LibUIDropDownMenu.lua:943 UIDropDownMenuButton_GetChecked = defined @We

Screenshots If applicable, add screenshots to help explain your problem.

Krovikan commented 7 months ago

Hello @tommy610 :

I can see a lot of errors about Weak Auras. Try to disable Weak Auras only.

If your problem persists, try to disable HandyNotes: Dragonflight and enable Weak Auras.

If your problem persists, try to disable both addons (Weak Auras and HandyNotes: Dragonflight).

Tell us the results of the 3 steps to know if is a problem of 1 addon only or is a problem with the 2 addons at the same time.

Regards

Dairyman commented 7 months ago

More likely a problem with LibUIDropDownMenu, latest version of it fixed a version conflict and reference NewFeature which is in the error message.