Still Questing A WoW journey and its addons
Still running from Hogger Settings

← Back

Still Questing / Quest Log

Happened time from: git commit 6cb6ca8 written up OAP UnitButtons Working in game updated

The heal preview borrows a width it may not read

In Wailing Caverns the heal preview vanished for one party member: the game was keeping that health bar's width secret. Now the width is borrowed from another frame of the same kind. In game, 273 of 418 previews borrowed a width and none failed.

Read the entry: The heal preview borrows a width it may not read

Addon code can't size anything from a secret width, so the preview couldn't simply be drawn to the bar. But party frames all come from one template, so the same bar on another member's frame gives the width.

If no frame will lend one, the line stops at the bar's end, scaled to the unit's missing health.

Follow-up, : 13 November, Wailing Caverns again. Near the end of a run every health bar's width went secret, the player's too, so there was nothing to borrow: the preview stopped at each frame's edge, and the party frame's cost preview stopped as well. A /reload cleared both. Logging now records when and where a bar's width turns secret. The cause isn't known yet.

Where this comes from

  • OAPUnitButtons: git commit 6cb6ca8
  • OAPUnitButtons: TODO.md, 'Parked'
  • OAPUnitButtons: HealPreview.lua (NoteBarWidth)
  • OAPUnitButtons: Claude transcript a06d33df, 2026-11-13

This entry's permanent address: /QuestLog/oapunitbuttons-heal-preview-borrows-a-width