Quantcast 7.1 dropdowns get closed on WORLD_MAP_UPDATE - WoWInterface
Thread Tools Display Modes
01-06-17, 04:45 AM   #1
Ellypse
Storyline and TRP dev.
 
Ellypse's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 9
7.1 dropdowns get closed on WORLD_MAP_UPDATE

Hi all.

I noticed since 7.1 that if you open the world map and open any dropdown in the UI (from the world map frame or any other frame) the dropdown will suddenly close itself.

After doing some digging I found that it happens every time WORLD_MAP_UPDATE is fired (every few seconds, for world quest stuff I guess). I have traced down the issue to the WorldMapLevelDropDown_Update() function being called by WorldMapFrame_UpdateMap(). I have not gone farther but something inside this function makes any opened dropdown closed (maybe UIDropDownMenu_Initialize() ?).

I have an add-on that adds options to the map filter dropdown menu and I got users reporting me this bug so I ended up implementing a custom fix that just check if DropDownList1 is visible before calling WorldMapLevelDropDown_Update().

Code:
local oldWorldMapLevelDropDown_Update = WorldMapLevelDropDown_Update
function WorldMapLevelDropDown_Update()
	if not DropDownList1:IsVisible() then
		oldWorldMapLevelDropDown_Update();
	end
end
  Reply With Quote
02-01-17, 02:52 PM   #2
Ellypse
Storyline and TRP dev.
 
Ellypse's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 9
Thumbs up Fixed

This issue has been fixed on PTR 7.2 build 23478
(See changes to WorldMapFrame.lua)
  Reply With Quote

WoWInterface » PTR » PTR UI Bugs » 7.1 dropdowns get closed on WORLD_MAP_UPDATE

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off