Plater Nameplates

Plater Nameplates

64M Downloads

Personal Nameplate Anchoring

Effeh opened this issue ยท 2 comments

commented

Game and Plater version
Plater-v9.0.1.310-Retail
Game 9.0.1.36322

Describe the bug
Frames anchored to the personal nameplate using WA2 and Plater shift on the Y axis sometimes on zone transition (and other events) and remain so until /reload (Or sometimes stubbornly until entire game reload). This happens with Plater, but never Kuinameplates - can't speak for other addons.
I think this is also what was taking place in this issue: #26

I believe it's the frame WeakAurasAttachToPRD that's the culprit, but it only happens with the Plater personal nameplate.

Screenshots
Here's how my personal resource display looks upon login:
uponlogin

And this is what happens sometimes after hearthing, dying, or just progressing through a dungeon (randomly):
afterawhile

When I /fstack, the WeakAurasAttachToPRD frame normally aligns to the top of the Plater PRD:
fstackaligned

When the problem occurs, it winds up in the middle, and all attached objects drift accordingly:
fstackmisaligned

Other Information
My knowledge of lua is very poor, but my very uneducated guess is that this may be mostly the fault of WA2. There appears to be code regarding the PRD in Weakauras.lua that factors in Kui and Elvui nameplates but not Plater, perhaps leading to this behaviour.

However, these other nameplate addons also include their own invisible PRD anchor frame so that WA's anchor frame can be circumvented if needed. It would be greatly appreciated if such functionality was added to Plater so that the (likely) problematic WA2 code could be avoided completely.

Such as: https://github.com/kesava-wow/kuinameplates2/blob/master/Kui_Nameplates/plugins/personal-anchor.lua

commented

Adressed through WeakAuras/WeakAuras2#2614

commented

PR has been closed. Next release of WA resolves this issue.