View Single Post
08-09-19, 01:41 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,323
UIParent dynamically moves some frames around depending on what's shown or not. There are a few ways around this, each with their own issues.
  1. Hook UIParent_ManageFramePositions() and reset your anchors afterwards. Note this can't be done in combat since the action bars are protected frames.
  2. Remove their entry from the UIPARENT_MANAGED_FRAME_POSITIONS table. This may cause taint.
  3. Set the ignoreFramePositionManager entry in each ActionBar to true. Apparently, this is checked when UIParent considers repositioning a frame and if set, this frame is skipped. I would be wary of this value randomly changing as it is a feature in the default UI and may be in use.

All of these options carry the additional effect of having other managed frames position strangely based on visibility state. This is hard-coded, but may be mitigated by removing any occurrence of rightRight and rightActionBarsX from all entries in UIPARENT_MANAGED_FRAME_POSITIONS if taint isn't an issue.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 08-09-19 at 02:13 PM.
  Reply With Quote