Bartender4

Bartender4

72M Downloads

11.1 action bar doesn't function due to Blizzard_Flyout/Flyout.lua:96: attempt to index field 'popup' (a nil value)

argium opened this issue · 11 comments

commented

After updating to 11.1, buttons on the action bar do not function via either mouse click or keyboard shortcut.

When pressing a button, this error occurs:

14x Blizzard_Flyout/Flyout.lua:96: attempt to index field 'popup' (a nil value)
[C]: ?
[C]: ?
[Blizzard_FrameXML/SecureHandlers.lua]:40: in function <Blizzard_FrameXML/SecureHandlers.lua:39>
[Blizzard_FrameXML/SecureHandlers.lua]:268: in function <Blizzard_FrameXML/SecureHandlers.lua:263>
[C]: ?
[Blizzard_FrameXML/SecureHandlers.lua]:296: in function <Blizzard_FrameXML/SecureHandlers.lua:279>
[tail call]: ?

Locals:

commented

I installed the master branch from here but it did not resolve it. Can you please share the link to the alpha?

If you use CurseForge, click on Bartender4, then go to the Versions tab. You can switch to the newer version there.

That's unblocked me, thank you.

commented

Confirmed. loading alpha fixed it. ty

commented

+1, there is no bartender specific error info in the lua

commented

+1

Message: Interface/AddOns/Blizzard_Flyout/Flyout.lua:96: attempt to index field 'popup' (a nil value)
Time: Tue Feb 25 17:35:17 2025
Count: 282
Stack:
[Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua]:296: in function <...nterface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:279>
[tail call]: ?

Locals:
self = BT4Button50 {
NewActionTexture = Texture {
}
BorderShadow = Texture {
}
TargetReticleAnimFrame = Frame {
}
icon = BT4Button50Icon {
}
SlotArt = Texture {
}
InterruptDisplay = Frame {
}
popupOffset = -4
arrowCrossAxisSize = 7
HighlightTexture = Texture {
}
CooldownFlash = Frame {
}
IconMask = MaskTexture {
}
arrowMainAxisSize = 18
SpellHighlightAnim = AnimationGroup {
}
PushedTexture = Texture {
}
Name = BT4Button50Name {
}
_state_type = "action"
state_types =

{
}
down = true
arrowDownTexture = "UI-HUD-ActionBar-Flyout-Down"
AutoCastOverlay = Frame {
}
Border = BT4Button50Border {
}
openArrowOffset = 2
arrowNormalTexture = "UI-HUD-ActionBar-Flyout"
_state_action = 50
SpellCastAnimFrame = Frame {
}
closedArrowOffset = 4
popupDirection = "UP"
zoneAbilityDisabled = false
arrowOverTexture = "UI-HUD-ActionBar-Flyout-Mouseover"
config =
{
}
state_actions =
{
}
id = 50
CheckedTexture = Texture {
}
NormalTexture = BT4Button50NormalTexture {
}
action = 0
Arrow = Texture {
}
Count = BT4Button50Count {
}
HotKey = BT4Button50HotKey {
}
TextOverlayContainer = Frame {
}
LevelLinkLockIcon = Texture {
}
Flash = BT4Button50Flash {
}
SpellHighlightTexture = Texture {
}
__LAB_Version = 119
header = BT4Bar5 {
}
SlotBackground = Texture {
}
popupCrossAxisSize = 47
cooldown = BT4Button50Cooldown {
}
}
header = BT4Bar5 {
module =
{
}
currentButtonOffset = 0
elapsed = 0
hidedriver =
{
}
buttons =
{
}
id = "5"
overlay = BT4Bar5Overlay {
}
config =
{
}
name = "Bar 3"
bindingmapping = "MULTIACTIONBAR2BUTTON%d"
statebutton =
{
}
buttonConfig =
{
}
numbuttons = 12
}
preBody = " if self:GetAttribute("type") == "action" then
local type, action = GetActionInfo(self:GetAttribute("action"))

		if type == "flyout" and self:GetAttribute("LABUseCustomFlyout") then
			local flyoutHandler = owner:GetFrameRef("flyoutHandler")
			if not down and flyoutHandler then
				flyoutHandler:SetAttribute("flyoutParentHandle", self)
				flyoutHandler:RunAttribute("HandleFlyout", action)
			end

			self:CallMethod("UpdateFlyout")
			return false
		end

		-- hide the flyout
		local flyoutHandler = owner:GetFrameRef("flyoutHandler")
		if flyoutHandler then
			flyoutHandler:Hide()
		end

		-- if this is a pickup click, disable on-down casting
		-- it should get re-enabled in the post handler, or the OnDragStart handler, whichever occurs
		if button ~= "Keybind" and ((self:GetAttribute("unlockedpreventdrag") and not self:GetAttribute("buttonlock")) or IsModifiedClick("PICKUPACTION")) and not self:GetAttribute("LABdisableDragNDrop") then
			self:CallMethod("ToggleOnDownForPickpostBody = "		local type, action = GetActionInfo(self:GetAttribute("action"))
	if message ~= format("%s|%s", tostring(type), tostring(action)) then
		self:RunAttribute("UpdateState", self:GetAttribute("state"))
	end

	-- re-enable ondown casting if needed
	if self:GetAttribute("LABToggledOnDown") then
		self:SetAttribute("LABToggledOnDown", nil)
		self:CallMethod("ToggleOnDownForPickup", false)
	end
"

button = "LeftButton"
down = false
message = "nil
il"
newbutton = "LeftButton"

commented

+1, there is no bartender specific error info in the lua

commented

There's plenty of them. Just because it doesn't say bartender it's clearly referring to the key by names the bartender uses.

commented

The alpha version from 1/19/2025 seems to work.

commented

Alpha solved it for me as well.

commented

I installed the master branch from here but it did not resolve it. Can you please share the link to the alpha?

commented

I installed the master branch from here but it did not resolve it. Can you please share the link to the alpha?

If you use CurseForge, click on Bartender4, then go to the Versions tab. You can switch to the newer version there.

commented

A new release version for 11.1 is available now as well.