Quantcast Bug with blizzard menu bar since 5.4.2 - WoWInterface
 
Thread Tools Display Modes
12-10-13, 03:33 PM   #1
samnilla
A Deviate Faerie Dragon
Join Date: Dec 2013
Posts: 13
Bug with blizzard menu bar since 5.4.2

My blizzard menu bar always stays in the default nUI position of being in top and center of the hud. Since the 5.4.2 patch, the blizzard menu bar will start in it's default position, but then move down to the bottom of the screen just to the right of hump in the bottom of the default hud. Might have something to do with blizzard's new store/shop button?

Here is a capture from swatter.

Date: 2013-12-10 14:10:34
ID: 1
Error occured in: Global
Count: 1
Message: ..\FrameXML\MainMenuBarMicroButtons.lua line 217:
MainMenuMicroButton:SetPoint(): StoreMicroButton is dependent on this
Debug:
[C]: SetPoint()
..\FrameXML\MainMenuBarMicroButtons.lua:217: UpdateMicroButtons()
..\FrameXML\MainMenuBarMicroButtons.lua:260:
..\FrameXML\MainMenuBarMicroButtons.lua:256
Locals:
(*temporary) = MainMenuMicroButton {
0 = <userdata>
tooltipText = "Game Menu (Escape)"
updateInterval = 0
newbieText = "Modify your settings, change your hotkeys or exit the game."
Flash = MainMenuMicroButtonFlash {
}
}
(*temporary) = "BOTTOMLEFT"
(*temporary) = StoreMicroButton {
0 = <userdata>
tooltipText = "Shop"
Flash = StoreMicroButtonFlash {
}
}
(*temporary) = "BOTTOMRIGHT"
(*temporary) = -3
(*temporary) = 0

AddOns:
ClassColors, v5.4.1.87
MoncaiCompare, v5.4.0
Swatter, v5.18.5433 (PassionatePhascogale)
Ace3, v
ACP, v3.4.5
Altoholic, v5.4.001
Armory, vv11.0.0
ArmoryGuildBank, vv11.0.0
Atlas, v1.26.02
AtlasArena, v1.4.03
AtlasBattlegrounds, v1.26.00
AtlasBurningCrusade, v1.26.00
AtlasCataclysm, v1.26.00
AtlasClassicWoW, v1.26.00
AtlasDungeonLocs, v1.26.00
AtlasOutdoorRaids, v1.26.00
AtlasScenarios, v1.26.00
AtlasTransportation, v1.26.02
AtlasWorldEvents, v3.05
AtlasWrathoftheLichKing, v1.26.00
AtlasQuest, v4.8.7
AucAdvanced, v5.18.5433 (PassionatePhascogale)
AucFilterBasic, v5.18.5433 (PassionatePhascogale)
AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
AucStatHistogram, v5.18.5433 (PassionatePhascogale)
AucStatiLevel, v5.18.5433 (PassionatePhascogale)
AucStatPurchased, v5.18.5433 (PassionatePhascogale)
AucStatSales, v5.18.5433.5376(5.18/embedded)
AucStatSimple, v5.18.5433 (PassionatePhascogale)
AucStatStdDev, v5.18.5433 (PassionatePhascogale)
AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
AucUtilFixAH, v5.18.5433 (PassionatePhascogale)
AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
Babylonian, v5.1.DEV.332(/embedded)
BadBoy, v12.108
BadBoyCCleaner, v3.66
BadBoyGuilded, v2.93
BagBrother, v
Bagnon, v5.4.3
BattlePetsCollector, v5.1.0.9
BeanCounter, v5.18.5433 (PassionatePhascogale)
BittensSpellFlashKeyBindings, v50400.1.1
BittensSpellFlashLibrary, v50400.4.1
BittensUtils, v50400.1.1
BrokerQC, v.70
Carbonite, v5.4.0 alpha 2
CarboniteInfo, v1.0
CarboniteNodes, v1.02
CarboniteNotes, v1.1
CarboniteNotesSample, v1.0
CarboniteQuests, v1.0
CarboniteSocial, v1.0
CarboniteTransfer, v1.01
CarboniteWarehouse, v1.0
CarboniteWeekly, v1.0
Configator, v5.1.DEV.344(/embedded)
Cromulent, v50400-1
DataStore, v5.4.001
DataStoreAchievements, v5.4.001
DataStoreAgenda, v5.4.001
DataStoreAuctions, v5.4.001
DataStoreCharacters, v5.4.001
DataStoreContainers, v5.4.001
DataStoreCrafts, v5.4.001
DataStoreCurrencies, v5.4.001
DataStoreInventory, v5.4.001
DataStoreMails, v5.4.001
DataStorePets, v5.4.001
DataStoreQuests, v5.4.001
DataStoreReputations, v5.4.001
DataStoreSpells, v5.4.001
DataStoreStats, v5.4.001
DataStoreTalents, v5.4.001
DebugLib, v5.1.DEV.337(/embedded)
DugisGuideViewerZ, v2.720
Enchantrix, v5.18.5433 (PassionatePhascogale)
EnchantrixBarker, v5.18.5433 (PassionatePhascogale)
ExplorerCoords, v1.36.5
FBBroker, v1.19m
FBMergeDatabase, v1.2p
FBOutfitDisplayFrame, v1.2p
FBTitan, v1.0.12
FBTrackingFrame, v1.2p
FishingBuddy, v1.2p3
FlightMapEnhanced, v1.5.36
GatherMate2, v1.27
GatherMateSharing, v1.3
Informant, v5.18.5433 (PassionatePhascogale)
InspectEquip, v2.0.5
LibExtraTip, v5.12.DEV.355(/embedded)
LibSharedMedia30, v3.0-81
LightHeaded, v365
Mapster, v1.5.6.1
MobInfo2, vr73
nUI, v5.07.40 (Lite)
nUIAuraButtons, v5.07.19
nUIConfigLDB, v2.01.02
nUIDragon, v5.07.19
nUIInfoPanelProfessions, v008
Overachiever, v0.73
OverachieverTabs, v0.73
OverachieverTrade, v0.73
PetTracker, v
PetTrackerBreeds, v
PetTrackerBroker, v
PetTrackerSwitcher, v
PetTrackerUpgrades, v
Postal, v3.5.1
Prat30, v3.5.7
Prat30HighCPUUsageModules, v
Prat30Libraries, v
QuestCompletist, v100.0
QuestPointer, vv12
RatingBuster, vr397
SlideBar, v5.18.5433 (PassionatePhascogale)
SpellFlash, v6.10
SpellFlashCore, v2.0.4
Stubby, v5.18.5433 (PassionatePhascogale)
TalentedInspect, vv3.0.2-release
TipHelper, v5.12.DEV.351(/embedded)
Titan, v5.2.3.50400
TitanBag, v5.2.3.50400
TitanClock, v5.2.3.50400
TitanCurrency, v5.9
TitanDurability, v1.24
TitanEmote, v1.0.16.50400
TitanGold, v5.2.3.50400
TitanLocation, v5.2.3.50400
TitanLootType, v5.2.3.50400
TitanMail, v5.4.0.1
TitanPerformance, v5.2.3.50400
TitanRepair, v5.2.3.50400
TitanSaveInfo, v0.5.30300
TitanVolume, v5.2.3.50400
TitanXP, v5.2.3.50400
WoWDBProfiler, v
BlizRuntimeLib_enUS v5.4.2.50400 <us>
(ck=12c5)
 
12-10-13, 03:43 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Yeah the shop button is bugging out the moment I turn on nUI. I'm not seeing the menu move though, it just doesn't show due to the error. I'll see if I can rig up a fix and mail a copy to Scott.

Edit: Unfortunately I cannot see anything in the code in nUI that is breaking the game but a reloadui will resolve the issue. All I can see nUI doing is reading in the main menu bar art's children and generating a list of buttons from it, a reload shows the new store icon .

Lua Code:
  1. Message: Interface\FrameXML\MainMenuBarMicroButtons.lua:217: MainMenuMicroButton:SetPoint(): StoreMicroButton is dependent on this
  2. Time: 12/10/13 21:39:40
  3. Count: 1
  4. Stack: [C]: in function `SetPoint'
  5. Interface\FrameXML\MainMenuBarMicroButtons.lua:217: in function `UpdateMicroButtons'
  6. [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
  7.  
  8. Locals: (*temporary) = MainMenuMicroButton {
  9.  0 = <userdata>
  10.  tooltipText = "Game Menu (Escape)"
  11.  updateInterval = 0
  12.  newbieText = "Modify your settings, change your hotkeys or exit the game."
  13.  Flash = MainMenuMicroButtonFlash {
  14.  }
  15. }
  16. (*temporary) = "BOTTOMLEFT"
  17. (*temporary) = StoreMicroButton {
  18.  0 = <userdata>
  19.  tooltipText = "Shop"
  20.  Flash = StoreMicroButtonFlash {
  21.  }
  22. }
  23. (*temporary) = "BOTTOMRIGHT"
  24. (*temporary) = -3
  25. (*temporary) = 0
__________________

Last edited by Xrystal : 12-10-13 at 03:53 PM.
 
12-10-13, 04:23 PM   #3
RGSG99
A Defias Bandit
Join Date: Oct 2009
Posts: 2
Mine is doing this as well. Reload UI is the only thing that works but I have to do it constantly to fix it.

Date: 2013-12-10 15:30:22
ID: -1
Error occured in: Global
Count: 220
Message: ..\FrameXML\MainMenuBarMicroButtons.lua line 217:
MainMenuMicroButton:SetPoint(): StoreMicroButton is dependent on this
Debug:
[C]: ?
[C]: SetPoint()
..\FrameXML\MainMenuBarMicroButtons.lua:217: UpdateMicroButtons()
..\FrameXML\WorldMapFrame.lua:291:
..\FrameXML\WorldMapFrame.lua:284
[C]: Hide()
..\FrameXML\UIParent.lua:1828: SetUIPanel()
..\FrameXML\UIParent.lua:1855: MoveUIPanel()
..\FrameXML\UIParent.lua:1886: HideUIPanel()
..\FrameXML\UIParent.lua:1574:
..\FrameXML\UIParent.lua:1566
[C]: SetAttribute()
..\FrameXML\UIParent.lua:2303: HideUIPanel()
..\FrameXML\UIParent.lua:2474: CloseWindows()
..\FrameXML\UIParent.lua:2513:
..\FrameXML\UIParent.lua:2503
[C]: securecall()
..\FrameXML\UIParent.lua:3210: ToggleGameMenu()
[string "TOGGLEGAMEMENU"]:1:
[string "TOGGLEGAMEMENU"]:1
Locals:

AddOns:
Swatter, v5.18.5433 (PassionatePhascogale)
ACP, v3.4.5
Altoholic, v5.4.001
AtlasLootLoader, vv7.07.01
AucAdvanced, v5.18.5433 (PassionatePhascogale)
AucFilterBasic, v5.18.5433 (PassionatePhascogale)
AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
AucStatHistogram, v5.18.5433 (PassionatePhascogale)
AucStatiLevel, v5.18.5433 (PassionatePhascogale)
AucStatPurchased, v5.18.5433 (PassionatePhascogale)
AucStatSales, v5.18.5433.5376(5.18/embedded)
AucStatSimple, v5.18.5433 (PassionatePhascogale)
AucStatStdDev, v5.18.5433 (PassionatePhascogale)
AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
AucUtilFixAH, v5.18.5433 (PassionatePhascogale)
AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
AutoSafariHat, v1.3.0 beta 2
Babylonian, v5.1.DEV.332(/embedded)
BattlePetDailyTamer, v1.2.10
BattlePetBreedID, v1.1.0a
BattlePetQualityNotifier, v1.3.0
BeanCounter, v5.18.5433 (PassionatePhascogale)
BittensSpellFlashMage, v50400.1.1
Configator, v5.1.DEV.344(/embedded)
DataStore, v5.4.001
DataStoreAchievements, v5.4.001
DataStoreAgenda, v5.4.001
DataStoreAuctions, v5.4.001
DataStoreCharacters, v5.4.001
DataStoreContainers, v5.4.001
DataStoreCrafts, v5.4.001
DataStoreCurrencies, v5.4.001
DataStoreInventory, v5.4.001
DataStoreMails, v5.4.001
DataStorePets, v5.4.001
DataStoreQuests, v5.4.001
DataStoreReputations, v5.4.001
DataStoreSpells, v5.4.001
DataStoreStats, v5.4.001
DataStoreTalents, v5.4.001
DBMCore, v
DebugLib, v5.1.DEV.337(/embedded)
Decursive, v2.7.3
Enchantrix, v5.18.5433 (PassionatePhascogale)
EnchantrixBarker, v5.18.5433 (PassionatePhascogale)
GTFO, v4.27
GuildTithe, vrelease_v2.5.12
Informant, v5.18.5433 (PassionatePhascogale)
LibExtraTip, v5.12.DEV.355(/embedded)
MikScrollingBattleText, v5.7.131
nUI, v5.07.40 (Lite)
nUIInfoPanelZygor, vr10
Outfitter, v5.9.3
PetBattleTeams, v3.2.5
PetLeash, v2.2.11
PetTracker, v
PetTrackerBreeds, v
PetTrackerJournal, v
PetTrackerSwitcher, v
PetTrackerUpgrades, v
Postal, v3.5.1
Prat30, v3.5.7
Prat30Libraries, v
SlideBar, v5.18.5433 (PassionatePhascogale)
SpellFlash, v6.10
SpellFlashCore, v2.0.4
Stubby, v5.18.5433 (PassionatePhascogale)
SushiSort, v5.2.0.0
TipHelper, v5.12.DEV.351(/embedded)
VoidTransmog, v1.1.4
ZygorGuidesViewer, v4.0
BlizRuntimeLib_enUS v5.4.2.50400 <us>
(ck=c5b)
 
12-10-13, 04:25 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Scratch that, a reloadui fix is only temporary as the error is triggered everytime it tries to reposition the micro buttons.

Nothing in the error message is pointing to anything specific in the nUI code that is triggering the error but SetPoint is used in so many places it is hard to identify the cause.
__________________
 
12-10-13, 04:42 PM   #5
Vrul
A Frostmaul Preserver
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 289
Untested but try replacing nUI_MicroMenu.applyScale with:
Code:
nUI_MicroMenu.applyScale = function( scale )
--  nUI_ProfileStart( ProfileCounter, "applyScale" );
    local options  = frame.options;
    local anchor   = scale and frame.anchor or nil;	
    local scale    = scale or frame.scale or 1;
    local btn_size = options.btn_size * scale * nUI.vScale;
    local btn_gap  = options.btn_gap * scale * nUI.hScale;
    frame.scale = scale;

    if frame.btn_size ~= btn_size or frame.btn_gap ~= btn_gap then
        local frame_Buttons = frame.Buttons;
        local width = #frame_Buttons > 0 and -btn_gap or 0;

        for i = 1, #frame_Buttons do
            frame_Buttons[i]:ClearAllPoints();
        end

        for i = 1, #frame_Buttons do
            local button    = frame_Buttons[i];
            local btnWidth  = button:GetWidth();
            local btn_scale = btn_size / btnWidth;
            width = width + (btnWidth+0.6) * btn_scale + btn_gap;
            button:SetScale( btn_scale  );
            if i > 1 then 
                button:SetPoint( "LEFT", frame_Buttons[i - 1], "RIGHT", btn_gap, 0 );
            else
                button:SetPoint( "BOTTOMLEFT", frame, "BOTTOMLEFT", 3 * scale * nUI.hScale, 3 * scale * nUI.vScale );				
            end
        end	

        frame:SetHeight( btn_size + 6 * scale * nUI.vScale );
        frame:SetWidth( width + 6 * scale * nUI.hScale );
    end
--  nUI_ProfileStop();
end
 
12-10-13, 04:46 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Okay, maybe not a nice fix, or even permanent, but the following stops the errors and the buttons are still usable from what I could see. Downside is that some of the extra nUI buttons that were linked to the micro buttons are no longer there.

File: nUI_MicroMenu.lua
Around Line: 205 - Comment this positioning block out. The moment these buttons are setpointed in nUI it triggers an error with the setpoint call.
Lua Code:
  1. --[[           
  2. button:ClearAllPoints();
  3.            
  4. if i == 1 then
  5.  width = (btnWidth+0.6) * btn_scale;
  6.  button:SetPoint( "BOTTOMLEFT", frame, "BOTTOMLEFT", 3 * scale * nUI.hScale, 3 * scale * nUI.vScale )
  7. else
  8.  button:SetPoint( "LEFT", last_button, "RIGHT", btn_gap, 0 );
  9.  width = width + (btnWidth+0.6) * btn_scale + btn_gap;
  10. end
  11. --]]

Notice the difference with the buttons.


Edit: Looking at Vrul's changes it looks like the setpoints are the cause.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_121013_223927.jpg
Views:	275
Size:	1.14 MB
ID:	7959  Click image for larger version

Name:	WoWScrnShot_121013_223847.jpg
Views:	259
Size:	1.13 MB
ID:	7960  
__________________

Last edited by Xrystal : 12-10-13 at 04:50 PM.
 
12-10-13, 06:22 PM   #7
blademage727
A Fallenroot Satyr
 
blademage727's Avatar
Join Date: Oct 2005
Posts: 23
For me, the menu buttons seem to work fine as is until I start a pet battle. As soon as I enter one, the menu buttons move to where they would be on the pet battle interface. Afterwards, I have to reloadui to fix them.
 
12-10-13, 06:35 PM   #8
RGSG99
A Defias Bandit
Join Date: Oct 2009
Posts: 2
Come to think of it, mine stay where they are supposed to be until a pet battle. Then they move toward the bottom of the screen.
 
12-10-13, 09:12 PM   #9
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Moving to the bottom of the screen in a pet battle was happening after an earlier patch .. its all linked though as they added special re displaying / ordering etc code in which messes up addons trying to control it rofl
__________________
 
12-11-13, 05:30 PM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Further investigation into my wtf files due to some wacky occurences has demonstrated after testing with new and existing characters with empty or existing wtf folders that nUI is somehow messing up the wtf files. Whether it is directly nUI or something blizzard is doing based on what nUI is asking it to do I don't know but neither of these fixes fix the problem 100%.

My fix will work for people with existing wtf files until you turn off nUI and then reactivate it as it resets the positioning of the main menu buttons and then my fix, where it isn't repositioning it anymore will not reposition it if it has never been moved by nUI before.
__________________
 
12-12-13, 10:32 AM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Xrystal - nUI sets the "IsUserPlaced()" flag on the micro menu bar buttons. The fix is probably to have nUI turn that flag back off at logout in the same way that is undoes the key bindings at logout... that way Bliz won't try to store where nUI moved the buttons to.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
12-12-13, 03:32 PM   #12
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Thanks Scott,

I'll give that a go and see if it improves things.
__________________
 
12-12-13, 03:42 PM   #13
samnilla
A Deviate Faerie Dragon
Join Date: Dec 2013
Posts: 13
I'm going to try an uninstall of nUI and then a fresh reload as my blizzard menu button bar is behaving very strange. When I first created this thread, I had all of the original buttons from character on the left to system menu on the right, then an empty spot, then the new shop button. After exiting from a pet battle was when it would reposition the blizzard menu bar.

It did this for a few days and then it stopped. But the blizzard menu bar has changed. It now only has buttons from the character panel on the left to the pet/mount button on the right hand side. The system menu and shop buttons have disappeared. This bar is also now over writing the FPS graph.

I've tried to readjust the spacing of both the horizontal and vertical positions using the /nui bar commands and nothing ended up moving.
 
12-12-13, 03:48 PM   #14
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
I'm working on getting a consistently working fix for both new, old and those that addon jump users to use without messing up. So far Scott's suggestion is working, so gonna see if I can get something working when you start and/or end pet battles. It looks like, in theory, that when the pet battle starts we want blizz to take over and handle the buttons the way it wants, and then when the pet battle finishes let nUI do its stuff again.
__________________
 
12-12-13, 04:40 PM   #15
samnilla
A Deviate Faerie Dragon
Join Date: Dec 2013
Posts: 13
I got a chance to rename my WTF and interface folders and do a clean install of nUI. The 2 other addons I put back with the install were MFWM and Lightheaded. The blizzard menu bar looked normal. Where I said there was a space before, that was for the customer support "?". Now the shop button wasn't appearing. Spacing looked good. Neither the response time or FPS graph were being over written.

But the buttons still moved after exiting a pet battle. I will try your suggestion of commenting out that section in the meantime though.
 
12-12-13, 04:51 PM   #16
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Just an update, Pet Battles still causing a problem with the buttons. But reloading the UI now corrects it so far. So at least a little better. I'll keep working and will put up a new file that will be a bit better fix.
__________________
 
12-12-13, 05:19 PM   #17
samnilla
A Deviate Faerie Dragon
Join Date: Dec 2013
Posts: 13
I commented out that section in the nUI_MicroMenu.lua file and also downloaded the file that you have posted in another thread and tried it. I didn't get the same results that you are showing. I've included a screen shot of my WoW. Both ways I tried applying to the .lua file resulted in the same problem with the buttons. My addons at this point are still just nUI, Lightheaded and MFWM. Click image for larger version

Name:	WoWScrnShot_121213_155950.jpg
Views:	445
Size:	700.2 KB
ID:	7967
 
12-12-13, 05:28 PM   #18
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,236
Yes, the problem seems to be linked to where blizzard has been last told where the buttons should be, even if it has been moved incorrectly.

The problem is such that the only way so far to turn off that error is to tell nUI not specially position all the buttons. Unfortunately somewhere it seems they don't automatically draw correctly when nUI is loaded despite blizzard basing the positions of the other buttons on the character button. Apart from the store icon which seems to be positioned based on the computer icon. Why, I don't know but I suspect that is why the errors are occurring.

The attached file now only has 2 lines commented out ( the clearing of the points and the positioning of the buttons other than the character button ) but also has the PLAYER_LOGOUT test being handled to tell blizzard that it can now take control of the buttons as long as nUI isn't loaded to reset it again.

A few tests involving re-logging, both partly and completely and several pet battles have resulted in consistent results in that whenever you start nUI the buttons are in the right place ( based on nUI's layout folder settings ) and whenever you do a reload after a pet battle it puts them back in the right place. No more wiping out that layout file after logging out completely as nUI does that all for you automatically when you log out.

Weekend coming up so more time to spend investigating on a way to get the buttons displaying properly even after a pet battle without resorting to reloading of the UI.
Attached Files
File Type: lua nUI_MicroMenu.lua (20.4 KB, 124 views)
__________________
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Bug with blizzard menu bar since 5.4.2

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