[BUG] Display position resets on reload/zone, interacting with X/Y coords sets position correctly
Closed this issue ยท 13 comments
Before You Begin
- I confirm that I have downloaded the latest version of the addon.
- I am not playing on a private server.
- I checked for an existing, open ticket for this issue and was not able to find one.
- I edited the title of this bug report (above) so that it describes the issue I am reporting.
Describe the Issue
When zoneing in or reloading the UI, the position of Hekili primary window defaults back to a location. If you then click on the coords in settings it will snap back to the correct location.
How to Reproduce
On any class set the postion of the Primary window
Reload UI
The primary window has reset its location to default? location.
Player Information (Link)
Error Messages (Link)
no error
Additional Information
No response
Contact Information
Royoken - Wiski#1949
Is your disk full? Is your WTF folder read only? I've only seen this type of issue when there's no space to write your options to disk.
I'd suggest positioning the addon and typing /dump Hekili.DB.profile.displays.Primary; screenshot the text that results. Reload your UI and do the same command and show me the before/after output.
Do you have a WeakAura that is repositioning it?
I noticed it looks like you're in Edit Mode for one screenshot. Is some addon having you move it in Edit Mode? Are you positioning it in /hekili > Displays > Primary and setting the X/Y?
I was in edit mode to get the chat box bigger to take the screen shot, nothing to do with the add-on moving.
It wasn't weakauras, but it does look like its ELVUI, if I disable that it doesn't reposition after a reload.
Does it happen with only ElvUI and Hekili, though? If you have a WeakAura that is reanchoring Hekili to an ElvUI frame, forr example, then it's not just ElvUI.
Yep, if i disable weakauras and clear my WTF/Cache folders it still does it with just EVLUI and Hekili
You may be able to investigate further with:
/dump HekiliDisplayPrimary:GetPoint() (should show what frame its being anchored to)
/run local a = select( 2, HekiliDisplayPrimary:GetPoint() ); print( a and a:GetName() ) (similar to above)
/fstack (mouseover the display, tap Alt until the --> is next to HekiliDisplayPrimary and look at the "Anchors" section:
You can see mine is anchored to UIParent with xOffset of 0 and yOffset of -200.
You have the button selected in your /fstack, but that still shows the issue.
Something (not the addon itself) is reanchoring the buttons of the display to your Elv player health bar.
You said this occurs when you zone, not just reload? If so, you could try:
/run hpb = Hekili_Primary_B1; hpb.SetPoint = hpb.SetPoint; hooksecurefunc( hpb, "SetPoint", function(...) print( "Reanchored", debugstack(), ... ) end )
If I got that right, when you trigger the movement of the addon by zoning (or whatever, just not reloading), it should print a bunch of info in chat that would help explain where that's occurring.









