[Help] WA anchored to Profs frame keeps appearing anchored to bottom of screen

Hey, hoping someone can spot an easy fix for me? I’ve attached Daemonarion’s [ProfessionTimers - TWW] to the Professions frame, and it works 99% of the time. But, when I first log in on my chars or on any reload, the WA is appearing without the Profs frame open and anchored to the bottom of the screen. I have to open the Profs frame to get it to correctly appear on Positioning anchor. I suspect I am missing some setting to “not show wa when professions window is not open” or something?
Anyone know how to fix?

Recommend contacting the WA creator on wago. io They will be able to help you a lot more than randoms on the forums. Let alone players using the same WA may have figured it out and can help you out.

Yeah, I’ve been trying, but wago won’t let me login to leave a comment. Its weird, when I click login, it takes me to the import page and doesn’t give me an option to input my username/pw. I’ve tried clearing my cache, opening in another browser, nothing works.
Thanks for the feedback tho.

The professions frame is part of an addon (Blizzard_Professions) set as Load-On_Demand which means the frame isn’t created until you click to open it.

Is there a setting for a weakaura to only display when the frame it’s attached to is open?

Could probably add something to the WA init to force it to load.

@Elvenbane Any chance you can point me in the right direction for a snippet of custom code for this? It’s gotten annoying at this point to have to do it every time I load into a character or reload.

Think it’s something like

C_AddOns.LoadAddOn("Blizzard_Professions")

Correct me if I’m wrong, Fizzle.

Just stick it into Action > On Init

Depends if WA creates/anchors the frame before running OnInit or after. If before, you would have to re-anchor (re-parent) the frame after the LoadAddon.

This seems to work, except the WA stayed visible on screen after I closed the professions window. I had to reopen it, then open WA and let the addons load before it started working properly when I close the prof frame.

If WA has an option to set the frames parent then you would set that to
ProfessionsFrame
or it might have to be done in OnInt after the LoadAddon.

My WeakAura Foo is non-existant.

Yeah, that was the first thing I did. The WA accurately moves to where I want it anchored on the Profs frame when I open it…it’s just the behavior when the frame isn’t visible that is wonky.

EDIT: Well, as [my] luck would have it, I just found the github wiki for weakauras

(https://github.com/WeakAuras/WeakAuras2/wiki)

Settring a frame’s anchors and setting a frame’s parent are two differnt things.

Anchoring will attach one frame to another, parenting will allow one frame to show/hide when the parent frame does.

Gotcha, so, for the WA group, under position settings, I have:

  • Anchored to: Select Frame
  • Set Parent to Anchor: checked
  • Frame: ProfessionsFrame
  • Anchor (unchangeable): bottom center
  • To Frame’s: bottom center
  • X/Y Offset: custom location on the Profs frame
  • Frame Strata: High (couldn’t see it otherwise, hidden behind Profs Frame)

Any changes? or is there another place I need to do this?

That sounds about right, you’re seem to be anchoring and parenting to the ProfessionsFrame, it just depends on the order WA sets these attributes in relation to when the OnInit method runs. If you WA is not showing/hiding with the ProfessionsFrame you might need to add some code after the LoadAddon.

1 Like