Drift

Drift

33.5k Downloads

Drift vs Blizz Function?

halloaloe opened this issue ยท 4 comments

commented

When Drift is on, and all bags are open, I can't click to use items like the brew of the month bottle or a hearthstone; I get the error message that Drift is blocking a Blizz UI function and the option to ignore or disable. If the bag containing said items is solely open, then they work fine. When Drift is off, and I'm trying to open all bags at once (which doesn't happen, they all pile on top of one another), I'm then hit with this nonsense. Good luck:

7x Interface/FrameXML/ContainerFrame.lua:1201: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: ContainerFrame2:SetPoint.
[string "=[C]"]: in function SetPoint' [string "@Interface/FrameXML/ContainerFrame.lua"]:1201: in function UpdateContainerFrameAnchors'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1125: in function ContainerFrame_GenerateFrame' [string "@Interface/FrameXML/ContainerFrame.lua"]:206: in function <Interface/FrameXML/ContainerFrame.lua:200> [string "@Interface/FrameXML/ContainerFrame.lua"]:222: in function OpenBag'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1961: in function OpenAllBagsMatchingContext' [string "@Interface/FrameXML/ItemUtil.lua"]:74: in function OpenAndFilterBags'
[string "@Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.lua"]:88: in function <...dOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.lua:78>
[string "=[C]"]: in function Show' [string "@Interface/FrameXML/UIParent.lua"]:2844: in function SetUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2664: in function ShowUIPanel' [string "@Interface/FrameXML/UIParent.lua"]:2552: in function <Interface/FrameXML/UIParent.lua:2548> [string "=[C]"]: in function SetAttribute'
[string "@Interface/FrameXML/UIParent.lua"]:3150: in function ShowUIPanel' [string "@Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.lua"]:186: in function OpenSoulbind'
[string "@Interface/AddOns/Blizzard_Soulbinds/Blizzard_SoulbindsViewer.lua"]:179: in function Open' [string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:128: in function showFunc'
[string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:183: in function `ShowFrame'
[string "@Interface/FrameXML/PlayerInteractionFrameManager.lua"]:215: in function <Interface/FrameXML/PlayerInteractionFrameManager.lua:212>

Locals:
(*temporary) = ContainerFrame2 {
0 =
CheckAuthenticatorSlotsHelpTip = defined @Interface/FrameXML/ContainerFrame.lua:1055
UpdateMoneyFrame = defined @Interface/FrameXML/ContainerFrame.lua:730
UpdateFilterIcon = defined @Interface/FrameXML/ContainerFrame.lua:922
GetTitleText = defined @Interface/SharedXML/PortraitFrame.lua:28
GetPaddingWidth = defined @Interface/FrameXML/ContainerFrame.lua:849
SetPortraitTexCoord = defined @Interface/SharedXML/PortraitFrame.lua:87
size = 32
CheckUpdateDynamicContents = defined @Interface/FrameXML/ContainerFrame.lua:822
UpdateIfShown = defined @Interface/FrameXML/ContainerFrame.lua:1036
GetBagID = defined @Interface/FrameXML/ContainerFrame.lua:746
TitleContainer = Frame {
}
UpdateItemContextMatching = defined @Interface/FrameXML/ContainerFrame.lua:1073
LayoutAddSlots = defined @Interface/FrameXML/ContainerFrame.lua:1081
SetTitle = defined @Interface/SharedXML/PortraitFrame.lua:36
OnCloseClicked = defined @Interface/FrameXML/ContainerFrame.lua:726
PortraitButton = ContainerFrame2PortraitButton {
}
GetInitialItemAnchor = defined @Interface/FrameXML/ContainerFrame.lua:863
CalculateHeight = defined @Interface/FrameXML/ContainerFrame.lua:833
IsCombinedBagContainer = defined @Interface/FrameXML/ContainerFrame.lua:574
SetPortraitAtlasRaw = defined @Interface/SharedXML/PortraitFrame.lua:83
CancelRefresh = defined @Interface/FrameXML/ContainerFrame.lua:963
MatchesBagID = defined @Interface/FrameXML/ContainerFrame.lua:754
UpdateAddSlots = defined @Interface/FrameXML/ContainerFrame.lua:1077
IsExtended = defined @Interface/FrameXML/ContainerFrame.lua:566
SetTitleFormatted = defined @Interface/SharedXML/PortraitFrame.lua:40
NineSlice = Frame {
}
ClickableTitleFrame = Button {
}
CalculateWidth = defined @Interface/FrameXML/ContainerFrame.lua:829
SetPortraitTextureSizeAndOffset = defined @Interface/SharedXML/PortraitFrame.lua:95
Items =

{
}
GetRows = defined @Interface/FrameXML/ContainerFrame.lua:790
AddItemsForRefresh = defined @Interface/FrameXML/ContainerFrame.lua:970
SetPortraitShown = defined @Interface/SharedXML/PortraitFrame.lua:91
GetExtraRows = defined @Interface/FrameXML/ContainerFrame.lua:782
EnumerateValidItems = defined @Interface/FrameXML/ContainerFrame.lua:598
SetPortraitTextureRaw = defined @Interface/SharedXML/PortraitFrame.lua:79
GetBagSize = defined @Interface/FrameXML/ContainerFrame.lua:554
CalculateExtraHeight = defined @Interface/FrameXML/ContainerFrame.lua:840
SetTitleMaxLinesAndHeight = defined @Interface/SharedXML/PortraitFrame.lua:49
SetTitleColor = defined @Interface/SharedXML/PortraitFrame.lua:32
FilterDropDown = ContainerFrame2FilterDropDown {
}
UpdateItems = defined @Interface/FrameXML/ContainerFrame.lua:998
UpdateSearchResults = defined @Interface/FrameXML/ContainerFrame.lua:603
FilterIcon = Button {
}
EnumerateItems = defined @Interface/FrameXML/ContainerFrame.lua:586
Background1Slot = ContainerFrame2Background1Slot {
}
GetPaddingHeight = defined @Interface/FrameXML/ContainerFrame.lua:844
CloseButton = Button {
}
UpdateFrameSize = defined @Interface/FrameXML/ContainerFrame.lua:853
Bg = Frame {
}
IsBackpack = defined @Interface/FrameXML/ContainerFrame.lua:578
onCloseCallback = defined @Interface/FrameXML/ContainerFrame.lua:720
SetBorder = defined @Interface/SharedXML/PortraitFrame.lua:62
layoutType = "HeldBagLayout"
GetFirstButtonOffsetY = defined @Interface/FrameXML/ContainerFrame.lua:770
GetContainedBagIDs = defined @Interface/FrameXML/ContainerFrame.lua:750
CanUseForBagID = defined @Interface/FrameX

commented

Hi @halloaloe - Thanks for the detailed bug report!

  1. For the first issue, where Drift is blocking a UI function, that is definitely a bug. I will investigate and try to fix it.
  2. For the second issue (Action[SetPoint] failed...) I have looked into this before and do not have a great solution at the moment. A workaround you can use to prevent the issue, though, is disable Bags in Drift prior to disabling the whole Drift addon. I put some cleanup code that triggers when Bags are disabled in Drift to prevent these errors. If Bags are enabled when Drift is turned off, the issue occurs, so Bags must be disabled prior to to turning off Drift. I am not aware of a way to get around this entirely, unfortunately.
commented

Also noticing that when Drift is on, the backpack doesn't show up, whether opened by itself or with Shift B. I hear it open/close & see the indicator light on the icon, but it is just a blank spot where I've arranged my bags. I'm now having to turn off Drift to use my hearthstone (it's stored in the backpack) lol
Thank you for the reminder about toggling Bags within Drift, I completely forgot about that. Hope it'll mitigate some of the error noises currently driving me crazy. :P

commented

Just came to report basically the same issue. When r-clicking items in my bags to use them, I get this popup...

right-click-items-in-bags

The main reason I love Drift so much more than similar addons is because its ability to position bags, so I'm really hoping you can get this fixed! I'm sick of using the ElvUI single bag (which let's me use items even though Drift is enabled). Thanks!!!

commented

I fixed all the bag issues in Drift v2.1.1. Also, I was able to make it so that disabling Drift no longer causes issues (no more need to disable Bags before disabling Drift altogether - Drift can be toggled on/off with Bags enabled). Please re-open this ticket if I missed something.