More observations:
In Blizzard's AuctionUI.lua
The initial value of that drop down is set by
Code:
function BrowseDropDown_OnLoad(self)
UIDropDownMenu_Initialize(self, BrowseDropDown_Initialize);
UIDropDownMenu_SetSelectedValue(BrowseDropDown,-1);
end
so therefore if you use QueryAuctionItems() to initiate a fullscan, it will not change that value and I bet anything it get pushed all the way down the code and spits out quality as -1 thus causing the bug when this is hit later in the code
color = ITEM_QUALITY_COLORS[quality];