WeakAuras

WeakAuras

206M Downloads

UnitFrame display / hide does not update the aura position using UnitFrame anchors

Sanluli36li opened this issue · 4 comments

commented

Describe the bug

I have tried removing all AddOns and /console cvar_default

When I left the group, Aura did not disappear according to the concealment of the Unit Frame
and when I join an group, The aura that already exists on me is not displayed with the display of the Unit Frame

Unlike what I said a few days ago, Aura will still appear in the center of the screen. Just like setting anchor point to UIParent. I didn't find it last time because it was blocked by the action bar at the bottom

I am trying to monitor the event with print(event .." "..frame:GetName().." "..unit) to track events after LGF.RegisterCallback
Strangely, after FRAME_UNIT_UPDATE or FRAME_UNIT_REMOVED events, Aura did not update the anchor

do
  LGF.RegisterCallback("WeakAuras", "FRAME_UNIT_UPDATE", function(event, frame, unit)
    print(event.." "..frame:GetName().." "..unit)
    local new_frame
  LGF.RegisterCallback("WeakAuras", "FRAME_UNIT_REMOVED", function(event, frame, unit)
    print(event.." "..frame:GetName().." "..unit)
    for regionData, data_frame in pairs(WeakAuras.dyngroup_unitframe_monitor) do

Same as I mentioned yesterday
When I set Aura's loading option to in group or raid and modify part of the code in LibGetFrame

GetFramesCacheListener:SetScript("OnEvent", function(self, event)
    if event == "GROUP_ROSTER_UPDATE" then
        ScanForUnitFrames(true)
    else
        ScanForUnitFrames(false)
    end
end)

Then it can properly anchor when the frame is displayed
But if I only set to load without modifying LibGetFrame, Then aura will only anchor correctly after joining the group for the first time after login or reload(Anchor point to UIParent)

Do you have an error log of what happened?

No error

To Reproduce

Steps to reproduce the behavior:

  1. Use the World of Warcraft client with only WeakAuras installed and set "Use Raid-Style Party Frame"
  2. Create an Aura with aura trigger and set a spell at will. For example, 774(rejuvenation)
  3. Set anchor point to unit frame
  4. Cast Rejuvenation on yourself, then create a premade group
  5. Aura did not re-anchor to Raid Frame, Did not re-anchor after the next "FRAME_UNIT_UPDATE" event
  6. Leave group
  7. Similarly, the aura did not disappear immediately or after "FRAME_UNIT_REMOVED"

Screenshots

批注 2020-05-02 131343
批注 2020-05-02 131359
批注 2020-05-02 131419
There is also a record that I tested last night
https://github.com/WeakAuras/WeakAuras2/files/4565755/Record.zip

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

I have tried removing all AddOns and /console cvar_default

Which version of WeakAuras are you using?

2.17.4-14-g3a5f1e8

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail

Was it working in a previous version? If yes, which was the last good one?

No, it has been bad since my issue #2051

Additional Info

  ERROR HERE
commented

This version will wait for a while

If the unitframe is created after the trigger is updated, it will be re-anchored after 1s.
We can't make it instant because some unitframe addons have a delay before they show their frames.

commented

That would help if you included the aura, i understand now that you are not using dynamic group but simple anchoring, but i'm still not sure about how you set your aura trigger

commented
commented

That would help if you included the aura, i understand now that you are not using dynamic group but simple anchoring, but i'm still not sure about how you set your aura trigger

this is auras

!T31BVTns69Vlgia2fjEj1)9IlhGKTSJsSLueLItUBxztjosIXuKkKuX252ZVOahkA37UI(IIIExF5IwGc0If39QcC32VmBYM(TOpZmKs8pdLiLLTLTM1zTPOgoZWzEM53VNN55zM2ITB2wYQTuQTfZVDM2sdBlPG)hC3oYDptX0y0UgAgMWnQks(xkYVtt(DM2vf2oBBBiXgMkiZsopsBPsAQF4dYMkxDAtddnBv4wxuRxplKD7QpjRGGqBPUJTSngwuV7ai7LCZI2DAl130y8OkDn0HcjDQmfY1wYe1x1qV5LJqoFTB6Lu)acxPKSn6(EKPLk(PkiKgxc0u4T(lqQ)cK6VaP(lIR9wDL1q4RLU0TscpUCxBi3SiTq2YM2WfqAv1vDUQhCP1aY1WNSnv73hQa0sQ5KBGVub1zCVE0A)ZkFy99BDi89Kpkp2ugQ9wJqAAvuSO5S14oO3J0TLGNs9I2sNSBrPMNi1SydiZgJRasJ0KVeY8jjTUjIKuP6LpeYCY9GcdjRzpOTKU8qKLBnDS(0QMn9wYKEH6gQ4hA3YvBwUb(n1gzQlR9k3M1u7apSkiFi(Mxwk7oVQy(JFjudqA9CEYs1A2S2rhwEFOAItxRkxD638nxDAdzvqsyFtOwC1Pf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spV1cDcpM8y6CDXSI4XgP8TxojehFF7gEhhHbTLSPZMJygmjXS52ruy9Jbtj(wr56ozTqKOM9(SIOWctxlytcd2xjH8Mh2AzsaBnHhMS1w2BSgclfYzrWe0)kXeb7RWu38r)c)Krs)YZMrDNeUDt6slBE72K1lEyX9Qu9UYwnjtv)imBtsobVdItVWC3K1KvWgXb)Hsiz4TJ6YRhs6x9XCm(BuLP7p4nxwuwqqC882OkfZTiwXjDIovU8oHb3Zw4E2cFVR4HRJTaG5cPYY9TL1MJyJa2YXgiKQB7ZKlISnxdtgdyEgozrP4FyEhMKZ9l37nksaVs10Em6g7072lZGeDACqiza0rERYXnlwAyJOOjKHnnbohaohaohG7OqyzMCaca87hc3h0VhobSybKnFEXK5lx3q7Av3Ah)2XgmC6MkrkXOxmJirhNdEy8WaRkUAUvw4fi8Z)D)NF8h(2ahJ0jaXlKVnulvLrNVz9DnF(53(7VtXy)Wicu(1(DcJurSLyYOjLZSGZSGh3mRqrhBQc5tvqGV5yW3CmE4S8eRaCJoqtD4q3DhdNLkyzCYDgIZubL(x8Sx9MwflzXW8(rfQmlHGOHfVD)N(3PYf6eYIhnntdWqHuPioZrkHmcIfwtp4x4Upk39r5Up69D3h9AqqyXjfSSoXqIW)ayXjW1N(cIyVirjIVLuqdhDi69P0fQdsSickxcpFmN1P(XRpo94l2u5z13A3y7ZOXWKi8JgeV2bj)TxSZS8DVurHmz4NU5CxkLtGJtGJtGJtG7(obURVhNY8atFcBRLlPpO(AQ2tTl6AVFRqO71)yLI7O2yyQoQX5KqFw068zuh47EpwiK4ZqT))p

can you test with this version of weakauras https://github.com/WeakAuras/WeakAuras2/suites/647470270/artifacts/5502600 ?

This version will wait for a while to update the anchor in the frame display
It would be better if it could be faster