Hekili Priority Helper

Hekili Priority Helper

53M Downloads

[BUG] Display position resets on reload/zone, interacting with X/Y coords sets position correctly

Closed this issue ยท 13 comments

commented

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.

Image

Image

Image

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)

https://pastebin.com/YE9z4Nt1

Error Messages (Link)

no error

Additional Information

No response

Contact Information

Royoken - Wiski#1949

commented

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.

commented

Oh, also: Did you install BugSack/BugGrabber? Are there error messages?

commented

This is the output pre move:

Image

Image

Output after a reload

Image

Image

No errors / messages in Bugsack :(

It almost seems like its snapping to my ELVUI, is that a toggleable option?

commented

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?

commented

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.

commented

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.

commented

Yep, if i disable weakauras and clear my WTF/Cache folders it still does it with just EVLUI and Hekili

commented

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:

Image

You can see mine is anchored to UIParent with xOffset of 0 and yOffset of -200.

commented

looks like its anchoring to the player health bar? it says UIParent with the run command from above though.

Image

commented

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.

commented

Looks like "Hekili Elvui Anchor":

Image

commented

Yeah, you have an addon called "Hekili ElvUI Anchor" that you can turn off.

commented

Huge, that was it! no idea where I got that add on; thanks!