Bank sort does not work
Batchman85 opened this issue · 4 comments
Confirming this same behavior.
Initial inspection appears to indicate this bug is caused by the addition of the line addon:CloseAllBags()
in widgets/ContainerFrame.lua from commit c7a4c11 which resolved issue #188
function containerProto:CreateSortButton()
self:CreateModuleButton(
"S",
10,
function()
-- addon:CloseAllBags()
self.bagObject:Sort()
self.forceLayout = true
end,
L["(Blizzard's) Sort items"]
)
end
Removing that line fixes sorting while at the bank. However, I haven't confirmed whether or not it reintroduces the original error regarding the mailing of merged stacks.
The 'Item is Locked' error still occurs when using the (Blizzard's) Sort Items Button on the Bank frame, however the error does not occur when clicking the button on the Backpack frame.
SORTING BANK AND REAGENT BANK
“Currently using GW2UI addon, which rolls theSortBankBags()
andSortReagentBankBags()
API calls into one button on the bank UI. When these two commands are called in succession, whether it be through the addon or even through a macro script, the second API call gets the ‘Item is Locked’ error message. The order of these two API calls does not matter, the second call always fails.”
—Telanssra
Confirmed and fixed. This issue wasn't present at the time c7a4c11 was commited.