Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
166 stars 7 forks source link

Warband (Account) bank purchase overlay allows mouse through #619

Open mbattersby opened 1 month ago

mbattersby commented 1 month ago

The purchase overlay (by clicking the + tab on the warband bank):

  1. Does not hide ~or release~ the itemButtons from the previously selected tab.
  2. Does not block mouse events getting through.

Consequently you see tooltips for the items in the previously selected tab when mousing over, and can click to PickupItem.

(Not sure how to show the cursor in a windows screenshot, here it is BOTTOMLEFT of the tooltip.

image

mbattersby commented 1 month ago

Retail 11.0.0.55939

kemayo commented 1 month ago

Technically it does release them, in BankPanelMixin:SetItemDisplayEnabled. However, if we look at the definition of the item pool...

local function BankItemButtonResetter(framePool, frame)
    frame.isInitialized = false;
end
self.itemButtonPool = CreateFramePool("ItemButton", self, "AccountBankItemButtonTemplate", BankItemButtonResetter);

So just releasing them doesn't do anything to stop the itembuttons from sitting there being used.

mbattersby commented 1 month ago

Technically it does release them

Ah you are correct, ShowPurchasePrompt does call SetItemDisplayDisabled(false), my apologies. Not hidden though.

mbattersby commented 1 month ago

Confirmed broken on beta 11.0.2.55959 also.